[vtkusers] Problem with Qt-4.4.2 applications exiting with status 5 when linking to vtk-5.3 dynamic libraries on Mac OS 10.5.5 and Xcode-3.1.1
Elvis Dowson
elvis.dowson at mac.com
Thu Sep 25 11:18:04 EDT 2008
Hi,
I tried to create a new Xcode project from scratch, for the
Step1 Cone.cxx tutorial. I tried linking the static versions of the
vtk libraries for Carbon, but still no results. I always get the exit
status 5 error.
I have additionally linked to the Carbon.Framework and OpenGL.Framework.
Here is a copy of the Xcode project. What could be wrong? I'm not
trying to use CMake to build this, but I'll probably try this next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cxx.zip
Type: application/zip
Size: 14449 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080925/85022448/attachment.zip>
-------------- next part --------------
Best regards,
Elvis
On Sep 25, 2008, at 4:52 PM, Elvis Dowson wrote:
>
> Hi,
> I've just run into a problem where a simple Qt-4.4.2
> application exits with status 5 if I include a vtk dynamic link
> library.
>
> To reproduce this problem, create a simple Qt application, run and
> test it. After that, simply add vtkCommon.dylib to the list of
> External Frameworks and Libraries using Xcode-3.1.1.
>
> The application will compile fine and even though you do not use any
> of the vtk libraries in the application, simply linking it to the Qt-
> application will cause it to crash.
>
> What could the reason be?
>
> I have compiled vtk-5.3 with carbon bindings.
>
> I have attached the Qt xcode project files with this email.
>
> <QVTKTest.zip>
>
>
> Best regards,
>
> Elvis Dowson
>
>
More information about the vtkusers
mailing list