← Back to team overview

yade-users team mailing list archive

Re: Problems after Ubuntu update

 

Jerome Duriez a écrit :
Good morning everybody. I have recently updated my Linux distribution (Ubuntu). I think I use now the 7.10 one. And very unfortunately now I have problems with Yade. After typing "scons" I get :

collect2: ld returned 1 exit status
scons: *** [/home/jerome/build-0.11.1/core/yade] Error 1
scons: building terminated because of errors.

I don't write you for the moment all that is written above (it's too long) but it seems to be problems with files NullGUI.cpp, Omega.o and Omega.cpp (which belong to folders "core"). In all these files there are "undefined references" to things whose names begin with "boost::filesystem::...".

Does anyone see anything ? Thanks a lot.

Jerome

------------------------------------------------------------------------

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
Some news about my problems which are more or less solved thanks to the help of Bruno Chareyre, (but thanks to Mohammad for your answer), maybe some of you will have also to update and to face the same problem, so could this mail be useful ? First of all here is joined a part of what was returned to me in the shell after having typed "scons". As you can see (and if I understood well), the compilation itself was well done, but in the linking of the files the "undefined refercences" to the boost library appear (after the last line of the joined file there were a lot of similar lines). So in fact I had to reinstall the boost library, but that was not sufficient. Indeed then a problem with the "log4cxx" (optional) library appeared, problem that we solved quite brutally by asking the compilation to execute without this library (make changes in the scons.config file at the line "features"). So now I can again launch Yade but it is not perfect : indeed when launching a calculation (for ex the TriaxialTest exemple) nothing appears in the graphic window : the numerical model is not drawn.

Jerome
 
scons: done reading SConscript files.
scons: Building targets ...
g++ -o /home/jerome/build-0.11.1/core/yade -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/lib -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-common -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-dem -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-fem -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-lattice -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-mass-spring -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/pkg-realtime-rigidbody -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/extra -Wl,-rpath=/home/jerome/YADE/lib/yade-0.11.1/gui -Xlinker -export-dynamic -L. -lpython2.5 -rdynamic /home/jerome/build-0.11.1/core/Body.o /home/jerome/build-0.11.1/core/BodyContainer.o /home/jerome/build-0.11.1/core/BoundingVolume.o /home/jerome/build-0.11.1/core/DeusExMachina.o /home/jerome/build-0.11.1/core/FileGenerator.o /home/jerome/build-0.11.1/core/FrontEnd.o /home/jerome/build-0.11.1/core/GeometricalModel.o /home/jerome/build-0.11.1/core/InteractingGeometry.o /home/jerome/build-0.11.1/core/Interaction.o /home/jerome/build-0.11.1/core/InteractionContainer.o /home/jerome/build-0.11.1/core/MetaBody.o /home/jerome/build-0.11.1/core/MetaDispatchingEngine.o /home/jerome/build-0.11.1/core/NullGUI.o /home/jerome/build-0.11.1/core/Omega.o /home/jerome/build-0.11.1/core/PhysicalActionContainer.o /home/jerome/build-0.11.1/core/PhysicalParameters.o /home/jerome/build-0.11.1/core/Preferences.o /home/jerome/build-0.11.1/core/SimulationFlow.o /home/jerome/build-0.11.1/core/StandAloneSimulator.o /home/jerome/build-0.11.1/core/ThreadRunner.o /home/jerome/build-0.11.1/core/ThreadWorker.o /home/jerome/build-0.11.1/core/TimeStepper.o /home/jerome/build-0.11.1/core/yade.o /home/jerome/build-0.11.1/core/yadeExceptions.o -L/usr/share/qt3/lib -L/usr/share/qt3/lib -L/home/jerome/YADE/lib/yade-0.11.1/lib -L/home/jerome/YADE/lib/yade-0.11.1/pkg-common -L/home/jerome/YADE/lib/yade-0.11.1/pkg-dem -L/home/jerome/YADE/lib/yade-0.11.1/pkg-fem -L/home/jerome/YADE/lib/yade-0.11.1/pkg-lattice -L/home/jerome/YADE/lib/yade-0.11.1/pkg-mass-spring -L/home/jerome/YADE/lib/yade-0.11.1/pkg-realtime-rigidbody -L/home/jerome/YADE/lib/yade-0.11.1/extra -L/home/jerome/YADE/lib/yade-0.11.1/gui -lpthread -lglut -lboost_date_time -lboost_thread -lboost_filesystem -lqt-mt -lqt-mt -lqglviewer -llog4cxx -lpthread -ldl -lutil -lminiWm3 -lyade-base -lyade-serialization -lyade-factory -lyade-base -lyade-loki -lyade-multimethods -lglut
/home/jerome/build-0.11.1/core/NullGUI.o: In function `NullGUI::loop()':
/home/jerome/yade-0.11.1/core/NullGUI.cpp:142: undefined reference to `boost::filesystem::path::path(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

References