← Back to team overview

kicad-developers team mailing list archive

Re: Call for help to compile a small test program with g++ version 4.7.3 and more.

 

Le 17/06/2013 16:13, Edwin van den Oetelaar a écrit :
I downloaded this file :
https://svn.boost.org/trac/boost/attachment/ticket/7983/test_polygon_diff.cpp

And compiled it on Debian 7 (Linux debian 3.2.0-4-686-pae #1 SMP
Debian 3.2.41-2+deb7u2 i686 GNU/Linux)
With this info on the C compiler :
gcc -v

You are using boost 1.49.
You should use 1.53.

You can use the boost version automatically downloaded and installed by Kicad (i you are building yourself the testing version of Kicad) by using this command
g++ -Wall -O2 -I <path_to_boost_1_53_0> test_polygon_diff.cpp
with <path_to_boost_1_53_0> = <kicad_src_from_launchpad>/include
(be sure <kicad_src_from_launchpad>/include/boost exists)

or download and replace boost 1.49 by boost 1.53

Thanks.


--
Jean-Pierre CHARRAS


References