[vtkusers] OpenGL linking issue on Mac 10.5

Martin Costabel costabel at wanadoo.fr
Wed Jul 23 13:43:07 EDT 2008


Wes Turner wrote:
> Alexandre,
> 
> Try adding the entire string 
> "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" 
> to CMAKE_EXE_LINKER_FLAGS, CMAKE_SHARED_LINKER_FLAGS, and 
> CMAKE_MODULE_LINKER_FLAGS.

Another possibility is to upgrade your dev tools to xcode-3.1. The new 
linker does no longer have this bug.

-- 
Martin




More information about the vtkusers mailing list