[vtkusers] VTK 6.0 static New() function returns NULL
Dan Lipsa
dan.r.lipsa at gmail.com
Thu Apr 18 12:01:29 EDT 2013
Sebastien,
I am using a qt project and vtk. I ended up using the following line in the
.pro file:
DEFINES +=
vtkRenderingCore_AUTOINIT=\"4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)\"
The list of features in the DEFINES depends on what vtk features you use in
your program. I figured them out using trial and error from examples for
those features. I used cmake to generate the proper makefile and then
looked in that makefile.
Hope it helps,
Dan
On Thu, Apr 18, 2013 at 4:50 PM, Sebastien <sebastien.calvi at yahoo.com>wrote:
> Hi all,
>
> Marcus you're right and the wiki helps.... To understand; my problem now is
> that I did not use CMAKE in our project, it is a Qt project...
>
> So, how to have the factory properly set with implemented methods?
> Do I have to use cmake at all cost?
> Isn't it possible to to have the those methods implemented when one compile
> and link the release?
>
> Thank your for your help,
> Sebastien.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK-6-0-static-New-function-returns-NULL-tp5720157p5720184.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130418/1fd88bd6/attachment.htm>
More information about the vtkusers
mailing list