[vtkusers] VTK deployment with static libraries on Mac (and in Qt Creator)
mbcx9rb9
richard.j.brown at live.co.uk
Mon Mar 20 10:12:02 EDT 2017
Bump. Does anyone have any experience building a VTK application in Qt Creator with static libraries?
Regards,
Richard
On 16 Mar 2017, at 17:07, mbcx9rb9 <richard.j.brown at live.co.uk<mailto:richard.j.brown at live.co.uk>> wrote:
Building in Qt Creator gives this error. Building with Cmake compiles without any problems (I assumed due to VTK_USE_FILE). Also I can compile the program in Qt Creator using dylibs without any problems (so I guess normally Qt links to Cocoa, it's just linking to cocoa when using static libs in Qt that causes the problem).
Thanks
On 16 Mar 2017 5:01 p.m., "Sean McBride [via VTK]" <ml-node+[hidden email]<x-msg://2/user/SendEmail.jtp?type=node&node=5742498&i=0>> wrote:
On Wed, 15 Mar 2017 14:13:39 +0000, Richard Brown said:
>So how do I go about linking against Cocoa.framework. With another
>VTK_MODULE_INIT?
You need to do that when building your application, as opposed to building VTK. Do you build your app with CMake? With Xcode? With something else? Presumably you're ultimately using clang, in which case something needs to pass "-framework Cocoa" to it.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng [hidden email]
Rogue Research www.rogue-research.com<http://www.rogue-research.com>
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Powered by www.kitware.com<http://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
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
________________________________
If you reply to this email, your message will be added to the discussion below:
http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742496.html
To unsubscribe from VTK deployment with static libraries on Mac (and in Qt Creator), click here.
NAML<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
________________________________
View this message in context: Re: VTK deployment with static libraries on Mac (and in Qt Creator)<http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742498.html>
Sent from the VTK - Users mailing list archive<http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html> at Nabble.com<http://Nabble.com>.
_______________________________________________
Powered by www.kitware.com<http://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
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742522.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170320/f60eb254/attachment-0001.html>
More information about the vtkusers
mailing list