bzr 2223 compile error

Bug #580410 reported by Janek Kozicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Unassigned

Bug Description

janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk$ bzr up
Tree is up to date at revision 2223 of branch bzr+ssh://bazaar.launchpad.net/~yade-dev/yade/trunk

janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk$ scons jobs=1
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `trunk' (bzr2223), installed files will be suffixed with `-trunk'.
All intermediary files will be in `/home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/build-trunk'.
Checking whether c++ compiler "colorgcc" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... (cached) yes
Checking for boost::thread() in C++ library boost_thread-mt... (cached) yes
Checking for boost::posix_time::time_duration() in C++ library boost_date_time-mt... (cached) yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... (cached) yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes
Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... (cached) yes
Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
Checking for Python development files... (cached) yes
Checking for python module `IPython' ...(cached) yes
Checking for boost::python::scope() in C++ library boost_python-mt... (cached) no
Checking for boost::python::scope() in C++ library boost_python... (cached) yes
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for C++ header file Eigen/Core... (cached) yes
Checking for glutGetModifiers() in C++ library glut... (cached) yes
Checking for qt-mt in /usr/share/qt3... (cached) yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... (cached) yes
Checking for gts_object_class() in C++ library gts... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libTranslationEngine.so
L libPressTestEngine.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libPressTestEngine.so
L libResetRandomPosition.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libResetRandomPosition.so
L libRotationEngine.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libRotationEngine.so
L libSTLImporter.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libSTLImporter.so
L libSampleCapillaryPressureEngine.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libSampleCapillaryPressureEngine.so
L libSimpleShear.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libSimpleShear.so
L libSpatialQuickSortCollider.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libSpatialQuickSortCollider.so
L libSpherePack.so
â /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libSpherePack.so
C pkg/common/Engine/PartialEngine/StepDisplacer.cpp
pkg/common/Engine/PartialEngine/StepDisplacer.cpp: In member function `virtual void StepDisplacer::action()':
pkg/common/Engine/PartialEngine/StepDisplacer.cpp:11: error: invalid use of incomplete type `struct Scene'
/home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/build-trunk/include/yade-trunk/yade/core/Omega.hpp:47: error: forward declaration of `struct Scene'
pkg/common/Engine/PartialEngine/StepDisplacer.cpp: At global scope:
pkg/common/Engine/PartialEngine/StepDisplacer.cpp:5: warning: `boost::archive::detail::<unnamed>::init_guid<StepDisplacer>::g' defined but not used
scons: *** [/home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/build-trunk/pkg/common/Engine/PartialEngine/StepDisplacer.os] Error 1
scons: building terminated because of errors.

janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk$ cat scons.profile-default
PREFIX = '/home/janek/40-Yade/Bin/HEAD-fast'
debug = True
exclude = 'none'
features = 'boost-serialization,gts,log4cxx,opengl,openmp,python,vtk,wm3'
jobs = 1
linkStrategy = 'per-class'
version = 'trunk'
CXX = 'colorgcc'
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']

SUMMARY:

C pkg/common/Engine/PartialEngine/StepDisplacer.cpp
pkg/common/Engine/PartialEngine/StepDisplacer.cpp: In member function `virtual void StepDisplacer::action()':
pkg/common/Engine/PartialEngine/StepDisplacer.cpp:11: error: invalid use of incomplete type `struct Scene'
/home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/build-trunk/include/yade-trunk/yade/core/Omega.hpp:47: error: forward declaration of `struct Scene'

Related branches

Revision history for this message
Janek Kozicki (cosurgi) wrote :

Am I correct that Scene is something that you wanted to call World (and I wanted to call Model), some time ago?

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 580410] Re: bzr 2223 compile error
Download full text (5.6 KiB)

Try to compile with default options.
______________________________

Anton Gladkyy

2010/5/14 Janek Kozicki <email address hidden>

> Am I correct that Scene is something that you wanted to call World (and
> I wanted to call Model), some time ago?
>
> --
> bzr 2223 compile error
> https://bugs.launchpad.net/bugs/580410
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk$ bzr up
> Tree is up to date at revision 2223 of branch bzr+ssh://
> bazaar.launchpad.net/~yade-dev/yade/trunk<http://bazaar.launchpad.net/%7Eyade-dev/yade/trunk>
>
> janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk$ scons jobs=1
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.profile-default) @@@
> Yade version is `trunk' (bzr2223), installed files will be suffixed with
> `-trunk'.
> All intermediary files will be in
> `/home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/build-trunk'.
> Checking whether c++ compiler "colorgcc" works...(cached) yes
> Finding libstdc++ library... (cached)
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so
> Checking for pthread_exit(NULL) in C library pthread... (cached) yes
> Checking for boost::system::error_code(); /* non-essential */ in C++
> library boost_system-mt... (cached) yes
> Checking for boost::thread() in C++ library boost_thread-mt... (cached) yes
> Checking for boost::posix_time::time_duration() in C++ library
> boost_date_time-mt... (cached) yes
> Checking for boost::filesystem::path() in C++ library
> boost_filesystem-mt... (cached) yes
> Checking for boost::iostreams::file_sink("") in C++ library
> boost_iostreams-mt... (cached) yes
> Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes
> Checking for try{} catch (const boost::archive::archive_exception& e) {} in
> C++ library boost_serialization-mt... (cached) yes
> Checking for boost::program_options::options_description o in C++ library
> boost_program_options-mt... (cached) yes
> Checking for C++ header file boost/foreach.hpp... (cached) yes
> Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
> Checking for Python development files... (cached) yes
> Checking for python module `IPython' ...(cached) yes
> Checking for boost::python::scope() in C++ library boost_python-mt...
> (cached) no
> Checking for boost::python::scope() in C++ library boost_python... (cached)
> yes
> Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
> Checking for C++ header file Eigen/Core... (cached) yes
> Checking for glutGetModifiers() in C++ library glut... (cached) yes
> Checking for qt-mt in /usr/share/qt3... (cached) yes
> Checking for vtkInstantiator::New() in C++ library vtkCommon... (cached)
> yes
> Checking for gts_object_class() in C++ library gts... (cached) yes
> Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx...
> (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> â
> /home/janek/40-Yade/Bin/HEAD-fast/lib/yade-trunk/plugins/libTranslationEngine.so
> L libPressTestEngine.so
> â
> /home/janek...

Read more...

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Fixed in r2255. For Scene &c, there is documentation for that (http://beta.arcig.cz/~eudoxos/yade/sphinx/prog.html); good point, though I will mention that more clearly.

Changed in yade:
status: New → Fix Released
Revision history for this message
Václav Šmilauer (eudoxos) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.