← Back to team overview

yade-dev team mailing list archive

[Bug 485209] [NEW] BZR 1796, error during compiling

 

Public bug reported:

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.

** Affects: yade
     Importance: Undecided
         Status: New

-- 
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: New

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.



Follow ups

References