[vtkusers] Difficulties migrating from vtk5.10.1 to vtk6.1.0
guzik at neubrex.jp
guzik at neubrex.jp
Tue Apr 8 05:19:59 EDT 2014
One more thing.
After my struggle with the crashes when using VS, the wiki entry was
updated by Marcus Hanwell (Kitware) and now are more clear on the subject.
He helped me also to fix my other (not related) issue with my project, so
wanted to say thanks to him once again.
A.
_____________________
Dr. Artur Guzik
Neubrex Co., Ltd.
Sakaemachi-dori 1-1-24, Kobe, Hyogo 650-0023, Japan
tel: +81-78-334-4033
www.neubrex.com
From: "Leo van Ruijven" <LvRuijven at gmx.com>
To: pof <jd379252 at gmail.com>
Cc: vtkusers at vtk.org
Date: 04/08/2014 04:32 PM
Subject: [vtkusers] Difficulties migrating from vtk5.10.1 to
vtk6.1.0
Sent by: "vtkusers" <vtkusers-bounces at vtk.org>
Hi pof,
I also did not use CMake for my own projects. And when I migrated from
v5.8 to 6.0 I also started to become desparate. In my case my programs
started to crash as soon as I loaded a VTK object. So I tried several
compiler settings, but nothing helped.
Than I started using CMake for my own projects. And even projects that no
longer ran, started to run again without any problem. And after looking at
some examples it was relatively easy to write the CMake files.
Success, Leo.
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
L van Ruijven
Functional Anatomy (ACTA)
Gustav Mahlerlaan 3004
1081 LA Amsterdam
Netherlands
Ph. +31(0)20-5980852 (out of office on friday)
_______________________________________________
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/20140408/7973f0d1/attachment.html>
More information about the vtkusers
mailing list