[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] problem with current IMP



Boost got upgraded on the Linux machines recently, and scons doesn't notice, leading to the compiler errors below. The easiest thing to do is to delete all the scons databases and things (rm .scons*).



On Jul 13, 2010, at 7:18 PM, Keren Lasker <> wrote:

> does not compile ...
> not sure who made these recent changes:
> 
> build/include/IMP/base_types.h:105: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
> In file included from build/include/IMP/VectorOfRefCounted.h:13,
>                 from build/include/IMP/Object.h:18,
>                 from build/include/IMP/Model.h:13,
>                 from kernel/src/Model_dependencies.cpp:9:
> build/include/IMP/base_types.h:105: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
> g++ -o modules/algebra/src/vector_search.os -c -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC \
> -Wall -Woverloaded-virtual -g -fvisibility=hidden -fPIC -DIMP_DATA_DIRECTORY=\"/usr/share/imp\" -DIMP_EXAMPLE_DIRECTORY=\"/usr/share/doc/imp/examples\" -DIM\
> PALGEBRA_EXPORTS -DGCC_VISIBILITY -Ibuild/include modules/algebra/src/vector_search.cpp
> g++ -o build/src/algebra_link_0.os -c -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -Wall -Wo\
> verloaded-virtual -g -fvisibility=hidden -fPIC -DIMP_DATA_DIRECTORY=\"/usr/share/imp\" -DIMP_EXAMPLE_DIRECTORY=\"/usr/share/doc/imp/examples\" -DIMPALGEBRA_\
> EXPORTS -DGCC_VISIBILITY -Ibuild/include build/src/algebra_link_0.cpp
> g++ -o build/src/algebra_link_1.os -c -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -Wall -Wo\
> verloaded-virtual -g -fvisibility=hidden -fPIC -DIMP_DATA_DIRECTORY=\"/usr/share/imp\" -DIMP_EXAMPLE_DIRECTORY=\"/usr/share/doc/imp/examples\" -DIMPALGEBRA_\
> EXPORTS -DGCC_VISIBILITY -Ibuild/include build/src/algebra_link_1.cpp
> 
> can you please help?
> 
> thanks, keren.