← Back to team overview

yade-dev team mailing list archive

[Bug 484273] [NEW] BZR 1789, problem to compile

 

Public bug reported:

BZR 1789, problem to compile

Compiles only with linkStrategy = 'monolithic' option
When not:

pkg/dem/PreProcessor/STLImporterTest.cpp: In member function 'void STLImporterTest::createSphere(boost::shared_ptr<Body>&, int, int, int)':
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: 'Sphere' was not declared in this scope
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: template argument 1 is invalid
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid type in declaration before '(' token
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected type-specifier before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected ')' before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid conversion from 'int*' to 'int'
pkg/dem/PreProcessor/STLImporterTest.cpp:185: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:186: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:187: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:188: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:189: error: no match for 'operator=' in '((boost::shared_ptr<Body>*)body)->boost::shared_ptr< <template-parameter-1-1> >::operator-> [with T = Body]()->Body::geometricalModel = gSphere'
/usr/include/boost/shared_ptr.hpp:211: note: candidates are: boost::shared_ptr< <template-parameter-1-1> >& boost::shared_ptr< <template-parameter-1-1> >::operator=(const boost::shared_ptr< <template-parameter-1-1> >&) [with T = GeometricalModel]
scons: *** [/home/gladk/dem/yade/current/build-current/pkg/dem/PreProcessor/STLImporterTest.os] Error 1
scons: building terminated because of errors.

** Affects: yade
     Importance: Undecided
         Status: New

-- 
BZR 1789, problem to compile
https://bugs.launchpad.net/bugs/484273
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:
BZR 1789, problem to compile

Compiles only with linkStrategy = 'monolithic' option
When not:

pkg/dem/PreProcessor/STLImporterTest.cpp: In member function 'void STLImporterTest::createSphere(boost::shared_ptr<Body>&, int, int, int)':
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: 'Sphere' was not declared in this scope
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: template argument 1 is invalid
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid type in declaration before '(' token
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected type-specifier before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: expected ')' before 'Sphere'
pkg/dem/PreProcessor/STLImporterTest.cpp:184: error: invalid conversion from 'int*' to 'int'
pkg/dem/PreProcessor/STLImporterTest.cpp:185: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:186: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:187: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:188: error: base operand of '->' is not a pointer
pkg/dem/PreProcessor/STLImporterTest.cpp:189: error: no match for 'operator=' in '((boost::shared_ptr<Body>*)body)->boost::shared_ptr< <template-parameter-1-1> >::operator-> [with T = Body]()->Body::geometricalModel = gSphere'
/usr/include/boost/shared_ptr.hpp:211: note: candidates are: boost::shared_ptr< <template-parameter-1-1> >& boost::shared_ptr< <template-parameter-1-1> >::operator=(const boost::shared_ptr< <template-parameter-1-1> >&) [with T = GeometricalModel]
scons: *** [/home/gladk/dem/yade/current/build-current/pkg/dem/PreProcessor/STLImporterTest.os] Error 1
scons: building terminated because of errors.



Follow ups

References