[vtkusers] VTK 6 porting
David Cole
dlrdave at aol.com
Fri Mar 15 15:54:38 EDT 2013
Run CMake on this CMakeLists.txt file:
https://gist.github.com/dlrdave/5172611
That should give you most (but not quite all) of what you need to know to link to VTK from a non-CMake based project...
Cheers,
David C.
From: Sean McBride
Sent: March 15, 2013 1:38 PM
To: Marcus D. Hanwell
CC: vtkusers at vtk.org
Subject: Re: [vtkusers] VTK 6 porting
On Fri, 15 Mar 2013 13:29:19 -0400, Marcus D. Hanwell said:
>If you don't want to use CMake you will have to generate the compiler
>definitions yourself. You can easily build a small CMake project, get
>the definitions and use them. Alternatively we could document what
>those definitions trigger so that you could add a source file manually
>to your project. I added runtime warnings about abstract objects in
>master to make this easier to diagnose too.
Yes, I see those warnings you added... but it's not clear to me how to act on them (I haven't had the time to look deeply).
I like the idea of you documenting 'what those definitions trigger', not only to make my life easier :) but because I suspect it's fairly common that people use the resulting VTK libraries in their favourite IDEs (VS, Xcode). It's totally understandable/reasonable to require people to use CMake to *build* VTK, but once built, it's just a bunch of library files that should be usable in Xcode, VS, or automake projects... it was possible in VTK 5, and this may catch people by surprise, as I believe is what has happened here.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130315/24bee9bd/attachment.htm>
More information about the vtkusers
mailing list