[vtkusers] Build fails on osx Lion: "symbol(s) not found for architecture x86_64"
Sean McBride
sean at rogue-research.com
Wed Aug 24 12:19:29 EDT 2011
On Mon, 22 Aug 2011 21:42:06 +0200, Luca Gherardi said:
>> Linking CXX executable ../../../bin/GraphicsCxxTests
>> Undefined symbols for architecture x86_64:
>> "_glDepthMask", referenced from:
>> vtkOpenGLActor::Render(vtkRenderer*, vtkMapper*) in
>libvtkRendering.a(vtkOpenGLActor.cxx.o)
I suspect it's unrelated to any i386 / x86_64 arch differences, but simply that those symbols (ex: glDepthMask) are not within any library you are linking with. Are you sure the X11 OpenGL has those symbols? You can check with 'nm -g', see 'man nm'.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list