[vtkusers] Use VS2005-VTK in VS2008

Jim jiksed at yahoo.com
Mon Mar 9 16:22:22 EDT 2009


 
Dear vtkusers,
 
Because of the issues on building VTK in VS2008 discussed below, I built VTK in VS2005. However, I would prefer to develop my VTK-related applications in VS2008. Will this cause any problem?
 
Thank you in advance.
Jim

--- On Wed, 2/25/09, Jim <jiksed at yahoo.com> wrote:

From: Jim <jiksed at yahoo.com>
Subject: Re: [vtkusers] Failed to run C++ examples
To: "John Drescher" <drescherjm at gmail.com>
Cc: vtkusers at vtk.org
Date: Wednesday, February 25, 2009, 11:59 AM







Dear John,
 
Thank you so much for pointing out the compiler version issue. You made my day! In one trial with VS2005 (BUILD_SHARED_LIBS=OFF), my vtk C++ examples run beautifully without any turns and twists. There must be an incorrect parameter or a bug somewhere which failed my VS2008 build.
 
I am very grateful for John's hint. Every response counts!
 

--- On Wed, 2/25/09, John Drescher <drescherjm at gmail.com> wrote:

From: John Drescher <drescherjm at gmail.com>
Subject: Re: [vtkusers] Failed to run C++ examples
To: jiksed at yahoo.com
Cc: vtkusers at vtk.org
Date: Wednesday, February 25, 2009, 10:55 AM

> I googled around and followed guides on this website
> http://vtkblog.blogspot.com/.  I build vtk_minimal successfully but
nothing
> showed on the screen (not even an error message) when I run
vtk_minimal.exe.
> I exhausted my effort but could not figure out what is wrong. I am sure a
> lot of people on this mailing list use vtk with Visual Studio on a daily
> basis. Someone please help me get started.
>

One problem is not all of us are using Visual Studio 2008. I use 2005 the most.

John

--- On Tue, 2/24/09, Jim <jiksed at yahoo.com> wrote:
From: Jim <jiksed at yahoo.com>
Subject: Re: [vtkusers] Failed to run C++ examples
To: vtkusers at vtk.org
Date: Tuesday, February 24, 2009, 4:03 PM

Dear vtkusers, I built vtk-5.2.1 and c++ examples in VS2008 without any errors. My TCL examples run fine. However, when I ran Arrays.exe or Cube.exe, I didn't see anything rendered on the screen, and no error messages either. I tried both BUILD_SHARED_LIBS=OFF and ON, and I also tried both Debug and Release builds. It didn't make any difference. I am completely lost. Someone please help me out. Thank you.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090309/fdb97cbd/attachment.htm>


More information about the vtkusers mailing list