[vtkusers] VTK 6.0 static New() function returns NULL
David Cole
dlrdave at aol.com
Thu Apr 18 12:01:53 EDT 2013
This has come up several times recently, for example, last month in
this thread:
http://www.vtk.org/pipermail/vtkusers/2013-March/127811.html
(Follow that whole thread through to see some suggestions about how to
make this work for a non-CMake based project right now.)
Or take a look at this commit in VTK/Examples, that shows how to build
an Xcode project against VTK 6:
https://github.com/Kitware/VTK/commit/9385718b82e6af83b7e7dcc90a937419edc6892b
Perhaps we (the VTK community) ought to consider providing a
configured/installed header file that provides the auto init defines
rather than stuffing them into CMake properties... Apparently, there
are several real-world VTK clients who do not use CMake to drive their
projects.
If the defines were in a centrally included VTK header file, then
anybody including the header would get the defines, regardless of
whether they use CMake to drive their build or not. Wouldn't it be
better if that were automatic, and people didn't run into this problem?
(i.e. -- it would be easy to turn this into a non-issue...)
Just a thought,
David C.
-----Original Message-----
From: Sebastien <sebastien.calvi at yahoo.com>
To: vtkusers <vtkusers at vtk.org>
Sent: Thu, Apr 18, 2013 11:50 am
Subject: Re: [vtkusers] VTK 6.0 static New() function returns NULL
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
More information about the vtkusers
mailing list