[vtkusers] Mac/VTK/Qt problems

Alessandro notinmyhead at gmail.com
Mon Dec 24 07:47:48 EST 2012


Hi, it seems to me that you've compiled vtk for x86 only.... try compiling (under qt) for x86_32, if it'll work, you'll have to compile vtk again...

Il giorno 21/dic/2012, alle ore 19.18, bberkowi ha scritto:

> I realize this thread is old, but I'm having problems building the examples
> also.  I'm using Mac 10.8 with Qt 4.8.4 and VTK 5.10.  When I run make, I
> get the following error:
> 
> 
> Linking CXX executable
> EventQtSlotConnect.app/Contents/MacOS/EventQtSlotConnect
> Undefined symbols for architecture x86_64:
>  "QVTKWidget::QVTKWidget(QWidget*, QFlags<Qt::WindowType>)", referenced
> from:
>      Ui_EventQtSlotConnect::setupUi(QMainWindow*) in
> EventQtSlotConnect.cxx.o
>  "vtkEventQtSlotConnect::New()", referenced from:
>      vtkSmartPointer<vtkEventQtSlotConnect>::New() in
> EventQtSlotConnect.cxx.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [EventQtSlotConnect.app/Contents/MacOS/EventQtSlotConnect]
> Error 1
> make[1]: *** [CMakeFiles/EventQtSlotConnect.dir/all] Error 2
> make: *** [all] Error 2
> 
> Is this an issue with VTK or do I maybe have something installed
> incorrectly?
> 
> 
> 
> 
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Mac-VTK-Qt-problems-tp1246044p5717697.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK 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