[vtkusers] Difficulties migrating from vtk5.10.1 to vtk6.1.0 (MSVC++)
pof
jd379252 at gmail.com
Sun Apr 6 14:48:01 EDT 2014
Hi all,
I am (desperately) trying to migrate my application from 5.10.1 to
6.1.0, and so far without any success.
I guess the problem comes from the fact that my application is compiled
and linked with MSVisualStudio, without any use of CMake (though I
obviously use CMake used to compile vtk librairies).
Typically, I tried to follow what is mentionned on the wiki, i.e. adding
the following 2 lines at the beginning of header files that #include vtk
objects:
#define vtkRenderingCore_AUTOINIT
4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)
But this does not work. I also try to add paths for include files,
without success. For instance, compiling a simple file, the compiler
complains with:
fatal error C1083: Impossible to open include file :
'vtkRenderWindowInteractor.h : No such file or directory
So I'm completely lost. Is there any available example (using MSVC++) of
a simple project successfuly migrated in vtk6.
Thanks in advance for any tip advice
Pof
More information about the vtkusers
mailing list