[vtkusers] solved: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib

Matthias Riechmann riechmann at ira.uka.de
Sat Dec 15 07:42:01 EST 2007


Found it: downgraded to 32-bit, now it works

Matthias Riechmann schrieb:
> Hi,
> 
> I made some progress in narrowing the source of the error down: My 
> project is divided into several executables and several libraries. Some 
> of these libraries are already dependant on VTK and Qt. One executable 
> (call it "A") is dependant of the project's libraries AND VTK and Qt. 
> There I get the error mentioned below. The other executable (call it 
> "B") is only dependant on VTK and QT, it compiles just fine.
> My guess: I'm linking my executable "A" to VTK and Qt twice: directly 
> and indirectly via my own libraries. Is this a flaw in concept? In 
> Windows and recent MacOS versions it worked out fine but with MacOS 10.5 
> the problems started.
> 
> 
> Matthias
> 
> 
> 
> 
> Matthias Riechmann schrieb:
>> Hi,
>>
>> I'm experiencing some difficulties trying to compile an application 
>> using VTK 5.0.3 and QVTK on MacOS X 10.5 (leopard). The linker gives 
>> the following message back to me:
>>
>> cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
>>
>> The origin seems to be in some changes between OS 10.4 and 10.5 and is 
>> already documented by apple 
>> (http://developer.apple.com/qa/qa2007/qa1567.html) including a 
>> workaround, but I don't know where in CMake I need to do the changes. 
>> Did anyone else have this problem and got it working?
>>
>>
>> Matthias
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages 
>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list