← Back to team overview

kicad-developers team mailing list archive

Re: Tip on compiling PCBNEW svn 701

 

Gabriele Oberhammer wrote:
Hi Dick,

This is my output without 'libboost-serialization-dev':

....
....
[ 82%] Building CXX object pcbnew/CMakeFiles/pcbnew.dir/solve.o
[ 85%] Building CXX object pcbnew/CMakeFiles/pcbnew.dir/specctra.o
In file included from /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/include/boost/ptr_container/ptr_vector.hpp:20,
from /home/gabriele/NO_BACKUP/kicad-svn/pcbnew/specctra.h:30, from /home/gabriele/NO_BACKUP/kicad-svn/pcbnew/specctra.cpp:53: /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:38:48: error: boost/serialization/split_member.hpp: No such file or directory /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:610: error: expected ‘;’ before ‘}’ token /usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:610: error: expected `;' before ‘}’ token /usr/include/boost/ptr_container/ptr_vector.hpp:70: error: expected ‘;’ before ‘}’ token /usr/include/boost/ptr_container/ptr_vector.hpp:70: error: expected `;' before ‘}’ token /home/gabriele/NO_BACKUP/kicad-svn/pcbnew/specctra.h:70: warning: ‘class DSN::OUTPUTFORMATTER’ has virtual functions but non-virtual destructor /home/gabriele/NO_BACKUP/kicad-svn/pcbnew/specctra.h:3167: warning: ‘class DSN::SPECCTRA_DB’ has virtual functions but non-virtual destructor
make[3]: *** [pcbnew/CMakeFiles/pcbnew.dir/specctra.o] Error 1
make[2]: *** [pcbnew/CMakeFiles/pcbnew.dir/all] Error 2
make[1]: *** [pcbnew/CMakeFiles/pcbnew.dir/rule] Error 2
make: *** [pcbnew] Error 2


I guess that the different behavior from my Gutsy and yours is that package 'libboost-serialization-dev' is only *suggested* by 'libboost-dev' and NOT required.
Maybe you set apt to automatically install suggested packages and I did not.



No the libboost-serialization-dev package is not installed. I am using GCC 4.2.1, and a SVN snap shot of the "Boost C++ Libraries", *I am not using* the gutsy Ubuntu package libboost-dev, although it is installed. I found that the gutsy Ubuntu package libboost-dev was incompatible with GCC 4.2.1, at least std:ptr_vector<>. So I went to subversion and got a newer Boost library. In my subversion working copy of the boost SVN respository, I deleted the serialization library just to test your theory, and Kicad still compiles.

As long as you can build we should be happy I guess?


Dick








Follow ups

References