yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01990
ld: duplicated symbol (Mac OS X)
Hi,
I currently try (and try again) compiling yade on Mas OS X.
Lot of problems have been resolved but I still have troubles to link
miniWm3...
I've seen with google that the problem could come from extern inline
function, but in the present case, inline functions are not extern...
I can not find a solution and I think that my head will explode!
A good idea would be welcome!
The log:
[...]
g++ -o /Users/richefeu/Documents/yade-local/build-vr/lib/libyade-
opengl.dylib -r -dylib -dynamiclib /Users/richefeu/Documents/yade-
local/build-vr/lib/yade-opengl.os -L/usr/local/lib -L/usr/share/qt3/
lib -L/usr/share/qt3/lib -L/Users/richefeu/Documents/YADE/lib/yade-vr/
extra -L/Users/richefeu/Documents/YADE/lib/yade-vr/gui -L/Users/
richefeu/Documents/YADE/lib/yade-vr/lib -L/Users/richefeu/Documents/
YADE/lib/yade-vr/py -L/Users/richefeu/Documents/YADE/lib/yade-vr/
plugins -lpthread -lboost_system-mt -lboost_thread-mt -
lboost_date_time-mt -lboost_filesystem-mt -lboost_iostreams-mt -
lboost_regex-mt -lboost_serialization-mt -lboost_program_options-mt -
lsqlite3 -lqt-mt -lqt-mt -lminiWm3 -lyade-QGLViewer -framework
CoreServices -framework Carbon -framework OpenGL -framework GLUT
ld: duplicate symbol Wm3::String::operator unsigned int() constin /
Users/richefeu/Documents/YADE/lib/yade-vr/lib/libyade-QGLViewer.dylib
and /Users/richefeu/Documents/YADE/lib/yade-vr/lib/libminiWm3.dylib
collect2: ld returned 1 exit status
scons: *** [/Users/richefeu/Documents/yade-local/build-vr/lib/libyade-
opengl.dylib] Error 1
[...]
Thanks in advance.
VR
Follow ups