← Back to team overview

yade-dev team mailing list archive

[Bug 511289] Re: r1984 compile error with per-class link strategy

 

Should be fixed in r1988.

** Changed in: yade
       Status: Confirmed => Fix Released

-- 
r1984 compile error with per-class link strategy
https://bugs.launchpad.net/bugs/511289
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
Some headers need to include 'core/Interaction.hpp', which contains the type definition of "body_id_t",  to avoid errors in compiling. Adding it to the headers listed below, the problem is solved.
Previous versions had 'Body.hpp' included in Omega.hpp (removed in -r1984), which would solve the problem. Trying to include it again, new errors come (listed at the end).

Monolithic link strategy would solve the problem.

Scons options which had been used are the following:

scons: done reading SConscript files.

PREFIX: Install path prefix
    default: /usr/local
    actual: /home/3S-LAB/ecatalano/Waterspheres/

runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
    default: None
    actual: /home/3S-LAB/ecatalano/Waterspheres/

variant: Build variant, will be suffixed to all files, along with version (beware: if PREFIX is the same, headers of the older version will still be overwritten
    default: -wtrsphrs
    actual: -wtrsphrs

debug: Enable debugging information and disable optimizations (yes|no)
    default: 0
    actual: False

gprof: Enable profiling information for gprof (yes|no)
    default: 0
    actual: False

optimize: Turn on heavy optimizations (yes|no)
    default: 0
    actual: False

exclude: Yade components that will not be built
    (all|none|comma-separated list of names)
    allowed names: gui extra common dem lattice snow
    default: none
    actual: lattice snow

PGO: Whether to "gen"erate or "use" Profile-Guided Optimization (|gen|use)
    default:
    actual:

features: Optional features that are turned on
    (all|none|comma-separated list of names)
    allowed names: opengl log4cxx cgal openmp gts vtk geometricalmodel physpar python eigen
    default: log4cxx,opengl,gts,openmp,vtk
    actual: cgal log4cxx opengl openmp

jobs: Number of jobs to run at the same time (same as -j, but saved)
    default: 4
    actual: 2

buildPrefix: Where to create build-[version][variant] directory for intermediary files
    default: ..
    actual: ..

linkStrategy: How to link plugins together (per-class|per-pkg[broken]|monolithic|static[broken])
    default: per-class
    actual: per-class

chunkSize: Maximum files to compile in one translation unit when building plugins.
    default: 20
    actual: 20

version: Yade version (if not specified, guess will be attempted)
    default: None
    actual: trunk

CPPPATH: Additional paths for the C preprocessor (colon-separated)
    default: /usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/eigen2
    actual: /usr/include/vtk-5.2 /usr/include/vtk-5.4 /usr/include/eigen2

LIBPATH: Additional paths for the linker (colon-separated)
    default: None
    actual: None

QTDIR: Directories where to look for qt3
    default: /usr/share/qt3:/usr/lib/qt:/usr/lib/qt3:/usr/qt/3:/usr/lib/qt-3.3
    actual: /usr/share/qt3 /usr/lib/qt /usr/lib/qt3 /usr/qt/3 /usr/lib/qt-3.3

PATH: Path (not imported automatically from the shell) (colon-separated)
    default: None
    actual: None

CXX: The c++ compiler
    default: g++
    actual: g++

CXXFLAGS: Additional compiler flags for compilation (like -march=core2).
    default: None
    actual:

march: Architecture to use with -march=... when optimizing
    default: native
    actual: native

SHCCFLAGS: Additional compiler flags for linking (for plugins).
    default: None
    actual: -fPIC

QUAD_PRECISION: typedef Real as long double (=quad) (yes|no)
    default: 0
    actual: False

brief: Don't show commands being run, only what files are being compiled/linked/installed (yes|no)
    default: True
    actual: True

pretty: Deprecated alias for 'brief', don't use. (yes|no)
    default: True
    actual: True

useMiniWm3: use local miniWm3 library instead of Wm3Foundation (yes|no)
    default: 1
    actual: True

Errors are resumed here after, and copied below.

scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/common/Engine/PartialEngine/GravityEngines.os] Error 1
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/common/Engine/GlobalEngine/InsertionSortCollider.os] Error 1
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/dem/Engine/GlobalEngine/NewtonIntegrator.os] Error 1
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.os] Error 1
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/common/Engine/GlobalEngine/PersistentTriangulationCollider.os] Error 1
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/common/Engine/GlobalEngine/SpatialQuickSortCollider.os] Error 1

Details of errors:

In file included from pkg/common/Engine/PartialEngine/GravityEngines.cpp:9:
pkg/common/Engine/PartialEngine/GravityEngines.hpp:26: error: 'body_id_t' does not name a type
pkg/common/Engine/PartialEngine/GravityEngines.hpp: In member function 'virtual void CentralGravityEngine::registerAttributes()':
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: 'centralBody' was not declared in this scope
pkg/common/Engine/PartialEngine/GravityEngines.hpp: In member function 'virtual boost::python::api::object CentralGravityEngine::pyGetAttr(const std::string&) const':
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: 'centralBody' was not declared in this scope
pkg/common/Engine/PartialEngine/GravityEngines.hpp: In member function 'virtual void CentralGravityEngine::pySetAttr(const std::string&, const boost::python::api::object&)':
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: 'centralBody' was not declared in this scope
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: template argument 1 is invalid
pkg/common/Engine/PartialEngine/GravityEngines.hpp: In member function 'virtual boost::python::dict CentralGravityEngine::pyDict() const':
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: 'centralBody' was not declared in this scope
pkg/common/Engine/PartialEngine/GravityEngines.hpp: In member function 'virtual void CentralGravityEngine::pyRegisterClass(boost::python::api::object) const':
pkg/common/Engine/PartialEngine/GravityEngines.hpp:34: error: 'centralBody' is not a member of 'CentralGravityEngine'
pkg/common/Engine/PartialEngine/GravityEngines.cpp: In member function 'virtual void CentralGravityEngine::action(Scene*)':
pkg/common/Engine/PartialEngine/GravityEngines.cpp:28: error: 'centralBody' was not declared in this scope

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

In file included from pkg/common/Engine/GlobalEngine/InsertionSortCollider.hpp:4,
from pkg/common/Engine/GlobalEngine/InsertionSortCollider.cpp:3:
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Collider.hpp:23: error: 'body_id_t' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Collider.hpp:23: error: template argument 1 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Collider.hpp:23: error: template argument 2 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Collider.hpp:34: error: 'Interaction' has not been declared
In file included from pkg/common/Engine/GlobalEngine/InsertionSortCollider.cpp:3:
pkg/common/Engine/GlobalEngine/InsertionSortCollider.hpp:212: error: conflicting return type specified for 'virtual std::vector<int, std::allocator<int> > InsertionSortCollider::probeBoundingVolume(const Bound&)'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Collider.hpp:23: error: overriding 'virtual int Collider::probeBoundingVolume(const Bound&)'

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

In file included from pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:9:
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:42: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:42: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:43: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:43: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:44: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:44: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:45: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:45: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: error: expected ',' or '...' before '&' token
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: error: ISO C++ forbids declaration of 'body_id_t' with no type
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:36: error: prototype for 'void NewtonIntegrator::handleClumpMemberAccel(Scene*, const body_id_t&, State*, State*)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:42: error: candidate is: void NewtonIntegrator::handleClumpMemberAccel(Scene*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:43: error: prototype for 'void NewtonIntegrator::handleClumpMemberAngAccel(Scene*, const body_id_t&, State*, State*)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:43: error: candidate is: void NewtonIntegrator::handleClumpMemberAngAccel(Scene*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:51: error: prototype for 'void NewtonIntegrator::handleClumpMemberTorque(Scene*, const body_id_t&, State*, State*, Wm3::Vector3r&)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:44: error: candidate is: void NewtonIntegrator::handleClumpMemberTorque(Scene*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:55: error: prototype for 'void NewtonIntegrator::saveMaximaVelocity(Scene*, const body_id_t&, State*)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:45: error: candidate is: void NewtonIntegrator::saveMaximaVelocity(Scene*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp: In member function 'virtual void NewtonIntegrator::action(Scene*)':
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:102: error: no matching function for call to 'NewtonIntegrator::leapfrogTranslate(Scene*&, State*&, const int&, Real&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: note: candidates are: void NewtonIntegrator::leapfrogTranslate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:108: error: no matching function for call to 'NewtonIntegrator::leapfrogSphericalRotate(Scene*&, State*&, const int&, Real&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: note: candidates are: void NewtonIntegrator::leapfrogSphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:111: error: no matching function for call to 'NewtonIntegrator::leapfrogAsphericalRotate(Scene*&, State*&, const int&, Real&, const Wm3::Vector3<double>&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: note: candidates are: void NewtonIntegrator::leapfrogAsphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:132: error: no matching function for call to 'NewtonIntegrator::leapfrogTranslate(Scene*&, State*&, const int&, Real&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: note: candidates are: void NewtonIntegrator::leapfrogTranslate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:133: error: no matching function for call to 'NewtonIntegrator::leapfrogAsphericalRotate(Scene*&, State*&, const int&, Real&, Wm3::Vector3r&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: note: candidates are: void NewtonIntegrator::leapfrogAsphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:147: error: no matching function for call to 'NewtonIntegrator::leapfrogTranslate(Scene*&, State*&, const int&, Real&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: note: candidates are: void NewtonIntegrator::leapfrogTranslate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:148: error: no matching function for call to 'NewtonIntegrator::leapfrogSphericalRotate(Scene*&, State*&, const int&, Real&)'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: note: candidates are: void NewtonIntegrator::leapfrogSphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp: At global scope:
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:161: error: prototype for 'void NewtonIntegrator::leapfrogTranslate(Scene*, State*, const body_id_t&, const Real&)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: error: candidate is: void NewtonIntegrator::leapfrogTranslate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:179: error: prototype for 'void NewtonIntegrator::leapfrogSphericalRotate(Scene*, State*, const body_id_t&, const Real&)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: error: candidate is: void NewtonIntegrator::leapfrogSphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.cpp:189: error: prototype for 'void NewtonIntegrator::leapfrogAsphericalRotate(Scene*, State*, const body_id_t&, const Real&, const Wm3::Vector3r&)' does not match any in class 'NewtonIntegrator'
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: error: candidate is: void NewtonIntegrator::leapfrogAsphericalRotate(Scene*, State*, int)
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:47: warning: inline function 'void NewtonIntegrator::leapfrogTranslate(Scene*, State*, int)' used but never defined
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:48: warning: inline function 'void NewtonIntegrator::leapfrogSphericalRotate(Scene*, State*, int)' used but never defined
pkg/dem/Engine/GlobalEngine/NewtonIntegrator.hpp:49: warning: inline function 'void NewtonIntegrator::leapfrogAsphericalRotate(Scene*, State*, int)' used but never defined

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

In file included from pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:1:
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:12: error: expected `)' before '_id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:14: error: 'body_id_t' does not name a type
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:37: error: expected `)' before '_id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:41: error: 'body_id_t' does not name a type
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp: In member function 'virtual void FacetTopologyAnalyzer::action(Scene*)':
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:24: error: no matching function for call to 'FacetTopologyAnalyzer::VertexData::VertexData(body_id_t, size_t&, Wm3::Vector3<double>, double)'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:11: note: candidates are: FacetTopologyAnalyzer::VertexData::VertexData()
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.hpp:11: note: FacetTopologyAnalyzer::VertexData::VertexData(const FacetTopologyAnalyzer::VertexData&)
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:67: error: 'struct FacetTopologyAnalyzer::VertexData' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:67: error: 'struct FacetTopologyAnalyzer::VertexData' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:67: error: 'struct FacetTopologyAnalyzer::VertexData' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:68: error: 'struct FacetTopologyAnalyzer::VertexData' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:112: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:118: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:118: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:119: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:119: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:126: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:126: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:136: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.cpp:136: error: 'struct FacetTopologyAnalyzer::FacetTopology' has no member named 'id'
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/pkg/dem/Engine/GlobalEngine/FacetTopologyAnalyzer.os] Error 1

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

Errors which come adding Body.hpp to Omega.hpp

C /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/lib/yade-support.cpp
In file included from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Shape.hpp:13,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Body.hpp:14,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Omega.hpp:42,
from core/main/main.cpp:26:
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp: In function 'std::string Dispatcher_indexToClassName(int)':
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: 'DynlibDescriptor' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: template argument 2 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: invalid type in declaration before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: template argument 1 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `>' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `(' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_continue' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_cur' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_end' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
core/main/main.cpp:302: error: expected `}' at end of input
core/main/main.cpp:302: warning: no return statement in function returning non-void
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/core/main/main.o] Error 1
C /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/core/core.cpp
In file included from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/core/core.cpp:25:
/home/3S-LAB/ecatalano/Waterspheres/yade/core/containers/InteractionVecMap.cpp:199:37: warning: no newline at end of file
L libyade-support.so
⇒ /home/3S-LAB/ecatalano/Waterspheres/lib/yade-trunk-wtrsphrs/lib/libyade-support.so
C /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/lib/yade-opengl.cpp
L libyade-opengl.so
⇒ /home/3S-LAB/ecatalano/Waterspheres/lib/yade-trunk-wtrsphrs/lib/libyade-opengl.so
C gui/py/PythonUI.cpp
In file included from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Shape.hpp:13,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Body.hpp:14,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Omega.hpp:42,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/FrontEnd.hpp:11,
from gui/py/PythonUI.hpp:3,
from gui/py/PythonUI.cpp:9:
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp: In function 'std::string Dispatcher_indexToClassName(int)':
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: 'DynlibDescriptor' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: template argument 2 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: invalid type in declaration before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: template argument 1 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `>' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `(' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_continue' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_cur' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_end' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
gui/py/PythonUI.cpp:167: error: expected `}' at end of input
gui/py/PythonUI.cpp:167: warning: no return statement in function returning non-void
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/gui/py/PythonUI.os] Error 1
C gui/qt3/GLViewer.cpp
In file included from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Shape.hpp:13,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Body.hpp:14,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Omega.hpp:42,
from gui/qt3/GLViewer.hpp:5,
from gui/qt3/GLViewer.cpp:11:
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp: In function 'std::string Dispatcher_indexToClassName(int)':
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: 'DynlibDescriptor' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: template argument 2 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: invalid type in declaration before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: template argument 1 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `>' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `(' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_continue' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_cur' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_end' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
gui/qt3/GLViewer.cpp:744: error: expected `}' at end of input
gui/qt3/GLViewer.cpp:744: warning: no return statement in function returning non-void
scons: *** [/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/gui/qt3/GLViewer.os] Error 1
C gui/qt3/QtFileGenerator.cpp
L libcore.so
⇒ /home/3S-LAB/ecatalano/Waterspheres/lib/yade-trunk-wtrsphrs/lib/libcore.so
C gui/qt3/QtGUI.cpp
In file included from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Shape.hpp:13,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Body.hpp:14,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Omega.hpp:42,
from /home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/FrontEnd.hpp:11,
from gui/qt3/QtGUI.hpp:11,
from gui/qt3/QtGUI.cpp:9:
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp: In function 'std::string Dispatcher_indexToClassName(int)':
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: 'DynlibDescriptor' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: template argument 2 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:75: error: invalid type in declaration before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: template argument 1 is invalid
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `>' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `(' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `)' before ';' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_continue' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_cur' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: '_foreach_end' was not declared in this scope
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: 'Omega' has not been declared
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected primary-expression before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before 'else'
/home/3S-LAB/ecatalano/Waterspheres/build-trunk-wtrsphrs/include/yade-trunk/yade/core/Dispatcher.hpp:76: error: expected `;' before ')' token
gui/qt3/QtGUI.cpp:98: error: expected `}' at end of input





References