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

[IMP-users] problem with compiling IMP after a commit "add adaptors for taking particles to reduce need for typemaps"



I have problems with compiling recent dev versions of IMP. The last version I can build successfully is 2.0.0-544-gb4dfefb.

The version 2.0.0-545-ga3aaf4a is the first that crashes (it is the version after commit a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65 - "add adaptors for taking particles to reduce need for typemaps" https://github.com/salilab/imp/commit/a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65).

The error is:

/home/kosinski/software/test_older_imp_a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65/imp_dev/include/IMP/kernel/internal/../Particle.h: In constructor ‘IMP::kernel::ParticleAdaptor::ParticleAdaptor(const IMP::kernel::Decorator&)’:
/home/kosinski/software/test_older_imp_a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65/imp_dev/include/IMP/kernel/internal/../Particle.h:94: error: invalid use of incomplete type ‘const struct IMP::kernel::Decorator’
/struct/cmueller/kosinski/software/test_older_imp_a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65/imp_dev/include/IMP/kernel/internal/../particle_index.h:18: error: forward declaration of ‘const struct IMP::kernel::Decorator’
/home/kosinski/software/test_older_imp_a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65/imp_dev/include/IMP/kernel/internal/../Particle.h:95: error: invalid use of incomplete type ‘const struct IMP::kernel::Decorator’
/home/kosinski/software/test_older_imp_a3aaf4a5a9983d7b68ba3d5709b12ff3ad1bcd65/imp_dev/include/IMP/kernel/internal/../particle_index.h:18: error: forward declaration of ‘const struct IMP::kernel::Decorator’
make[2]: *** [modules/container/benchmark/CMakeFiles/container.benchmark_evaluate.dir/benchmark_evaluate.cpp.o] Error 1
make[1]: *** [modules/container/benchmark/CMakeFiles/container.benchmark_evaluate.dir/all] Error 2


My builds always worked with a commands like:
$cmake_bin ../src/imp -DCMAKE_BUILD_TYPE=Release \
-DCGAL_DIR=$root_dir/lib/CGAL \
-DEIGEN3_INCLUDE_DIR=$src_dir/eigen-v3.1.3 \
-DCMAKE_INSTALL_PREFIX=$root_dir
make -j 8


Is it a bug? The dev logs from http://salilab.org/imp/nightly/logs/develop/20130625/x86_64-intel8/ seem ok. So maybe I build IMP wrong way?

Thanks in advance,
Jan
-- 
Jan Kosinski, PhD
Structural and Computational Biology Unit
European Molecular Biology Laboratory (EMBL)
Meyerhofstrasse 1
69117 Heidelberg
Germany