which i checked out as version r2059, the svn log | head tells
me:
lobi1@...3065...:~/lib2geom/trunk$ svn log | head
------------------------------------------------------------------------
r2059 | tweenk | 2010-07-21 22:18:35 +0200 (Mi, 21 Jul 2010) |
2 lines
(and last check-in more than 3 years ago doesn't look like
recent development...).
This version runs cmake with everything found except:
-- blas Includes, Compile and Link Flags: NOT FOUND
-- pycairo Includes, Compile and Link Flags: NOT FOUND
generates a makefile, make breaks with:
lobi1@...3065...:~/lib2geom/trunk$ make
[ 1%] Building CXX object
src/2geom/CMakeFiles/2geom.dir/affine.cpp.o
In file included from
/home/lobi1/lib2geom/trunk/src/2geom/affine.cpp:15:0:
/home/lobi1/lib2geom/trunk/src/2geom/utils.h:44:40: error:
‘size_t’ was not declared in this scope
/home/lobi1/lib2geom/trunk/src/2geom/utils.h:44:40: note:
suggested alternatives:
/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26:
note: ‘std::size_t’
/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26:
note: ‘std::size_t’
/home/lobi1/lib2geom/trunk/src/2geom/utils.h:44:46: error:
template argument 1 is invalid
/home/lobi1/lib2geom/trunk/src/2geom/utils.h:44:46: error:
template argument 2 is invalid
/home/lobi1/lib2geom/trunk/src/2geom/utils.h:44:53: error:
‘size_t’ has not been declared
make[2]: *** [src/2geom/CMakeFiles/2geom.dir/affine.cpp.o]
Error 1
make[1]: *** [src/2geom/CMakeFiles/2geom.dir/all] Error 2
make: *** [all] Error 2
which looks strangely as C++ header trouble.
and in section Inkscape development tells me:The geometry
library lib2geom, written in C++, is intended to eventually
become a separate project. You can get the latest version of
lib2geom from its Launchpad
repository.
So i bzr from the launchpad repository,
bzr log | head tells me:
lobi1@...3065...:~/lib2geom/lib2geom$ bzr log | head
------------------------------------------------------------
revno: 2161
committer: Johan B. C. Engelen <
j.b.c.engelen@...3066...>
branch nick: lib2geom
timestamp: Mon 2013-12-09 22:00:17 +0100
message:
use proper std:: namespace for std::size_t, because of
cstddef include. fixes build for some ppl
------------------------------------------------------------
which i considered a lot more recent.
The cmake claims the same missing as above, make however
runs through and produces both the library and the toy
programs.
make test fails as:
...
60% tests passed, 6 tests failed out of 15
Total Test time (real) = 1.00 sec
The following tests FAILED:
2 - bezier-test (Failed)
3 - chain-test (Failed)
4 - path-test (Failed)
6 - sbasis-test (Failed)
8 - convex-test (Failed)
11 - cg-test (Failed)
Errors while running CTest
make: *** [test] Error 8
3)
My system is a std 12.04 Ubuntu on
lobi1@...3065...:~/lib2geom/lib2geom$ uname -a
Linux mark 3.2.0-56-generic-pae #86-Ubuntu SMP Wed Oct 23
17:51:27 UTC 2013 i686 i686 i386 GNU/Linux
?
Wishing a happy day,
Andreas