Hi Andreas,
  You are of course correct: the bzr repo is the most recent and the wiki pages are just out-dated.

We have not looked at 'make check' for a while it seems. I would not worry about it too much, but it is indeed something we should look at. Thanks for the reminder.

It is always nice to hear someone else is using our 2Geom. Let us know if you have any troubles, find bugs, or perhaps you can even contribute some code of your own! :)

regards,
  Johan


On 17-12-2013 16:21, Andreas Lobinger wrote:

Hello colleagues,

1)
it's correct, the wiki points to a subversion repository

https://lib2geom.svn.sourceforge.net/svnroot/lib2geom/lib2geom/trunk

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.

2)
I followed the link in
http://inkscape.org/en/develop/getting-started/#bazaar
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





------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk


_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel