yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02256
[Bug 485209] Re: BZR 1796, error during compiling
Sega: using linkStrategy=monolithic, all .cpp files are included in one
translation unit. Wherefore the name conflict. You can put it inside the
classes.
** Changed in: yade
Status: New => Confirmed
--
BZR 1796, error during compiling
https://bugs.launchpad.net/bugs/485209
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: Confirmed
Bug description:
from /home/gladk/dem/yade/currentMono/yade/pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp:2,
from /home/gladk/dem/yade/currentMono/build-currentMono/packages.cpp:67:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
C gui/py/PythonUI.cpp
In file included from /home/gladk/dem/yade/currentMono/build-currentMono/packages.cpp:123:
/home/gladk/dem/yade/currentMono/yade/pkg/common/Engine/StandAloneEngine/ResetRandomPosition.cpp:25: error: redefinition of 'boost::variate_generator<boost::random::mersenne_twister<unsigned int, 32, 624, 397, 31, 2567483615u, 11, 7, 2636928640u, 15, 4022730752u, 18, 3346425566u>, boost::uniform_real<double> > <unnamed>::randomUnit'
/home/gladk/dem/yade/currentMono/yade/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp:28: error: 'boost::variate_generator<boost::random::mersenne_twister<unsigned int, 32, 624, 397, 31, 2567483615u, 11, 7, 2636928640u, 15, 4022730752u, 18, 3346425566u>, boost::uniform_real<double> > <unnamed>::randomUnit' previously declared here
/home/gladk/dem/yade/currentMono/yade/pkg/common/Engine/StandAloneEngine/ResetRandomPosition.cpp:27: error: redefinition of 'boost::variate_generator<boost::random::mersenne_twister<unsigned int, 32, 624, 397, 31, 2567483615u, 11, 7, 2636928640u, 15, 4022730752u, 18, 3346425566u>, boost::uniform_real<double> > <unnamed>::randomSymmetricUnit'
/home/gladk/dem/yade/currentMono/yade/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp:30: error: 'boost::variate_generator<boost::random::mersenne_twister<unsigned int, 32, 624, 397, 31, 2567483615u, 11, 7, 2636928640u, 15, 4022730752u, 18, 3346425566u>, boost::uniform_real<double> > <unnamed>::randomSymmetricUnit' previously declared here
L libPythonUI.so
⇒ /home/gladk/dem/yade/currentMono/build/lib/yade-currentMono/gui/libPythonUI.so
C gui/qt3/FileDialog.cpp
U gui/qt3/YadeQtGeneratedMainWindow.ui
U gui/qt3/YadeQtGeneratedMainWindow.ui
U gui/qt3/YadeQtGeneratedMainWindow.ui
U gui/qt3/QtFileGeneratorController.ui
U gui/qt3/QtFileGeneratorController.ui
U gui/qt3/QtFileGeneratorController.ui
U gui/qt3/QtGeneratedSimulationController.ui
U gui/qt3/QtGeneratedSimulationController.ui
U gui/qt3/QtGeneratedSimulationController.ui
C gui/qt3/GLViewer.cpp
scons: *** [/home/gladk/dem/yade/currentMono/build-currentMono/packages.os] Error 1
scons: building terminated because of errors.
References