[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
Mike Jackson
mike.jackson at bluequartz.net
Thu Sep 25 11:42:50 EDT 2008
I would try using CMake to generate your project files and see if the
error goes away. Also you may want to try the release version of VTK
versus CVS version.
Mike
On Thu, Sep 25, 2008 at 11:18 AM, Elvis Dowson <elvis.dowson at mac.com> wrote:
> 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.
>
>
>
>
>
>
> 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
>>
>>
>
>
> _______________________________________________
> 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