[vtkusers] Qt+VTK on OSX: illegal hardware instruction

Sensei senseiwa at gmail.com
Tue Mar 5 09:10:22 EST 2013


Dear all,

I am trying to compile the Qt examples, succeeding in compiling and 
linking, but failing in running them:

b% ./SimpleView.app/Contents/MacOS/SimpleView
objc[4039]: 
'/Applications/Development/qt/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/QtCore' 
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application 
requires GC
objc[4039]: 
'/Applications/Development/qt/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/QtGui' 
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application 
requires GC
objc[4039]: 
'/Applications/Development/qt/Desktop/Qt/4.8.1/gcc/lib/QtWebKit.framework/Versions/4/QtWebKit' 
was not compiled with -fobjc-gc or -fobjc-gc-only, but the application 
requires GC
objc[4039]: *** GC capability of application and some libraries did not 
match
zsh: illegal hardware instruction 
./SimpleView.app/Contents/MacOS/SimpleView


I'm sincerely at loss here, I don't know what I should be looking for.

By the way, I am running CMake 2.8.7, with VTK 5.10.1 and Qt 4.8.1 on 
MacOS X 10.8.2.


Any hints?


Thanks & Cheers!



More information about the vtkusers mailing list