[vtkusers] Use VS2005-VTK in VS2008

Jim jiksed at yahoo.com
Mon Mar 9 18:25:14 EDT 2009

John and Michael,
Thank you for your concerns. As John quoted, I could build VTK 5.2.1 and examples on VS 2008 Pro + Windows XP, however, all examples failed to run (no images rendered). However, everything worked fine with VS2005 Standard on the same computer.
FYI, I had Wrap_TCL=ON, USE_MFC=ON, USE_QT=ON. Any conflict in my configurations? I will turn off USE_MFC and try it again with VS2008 because I will never use MFC.
Thank you.

--- On Mon, 3/9/09, John Drescher <drescherjm at gmail.com> wrote:

From: John Drescher <drescherjm at gmail.com>
Subject: Re: [vtkusers] Use VS2005-VTK in VS2008
To: "Michael Jackson" <mike.jackson at bluequartz.net>, "VTK" <vtkusers at vtk.org>
Date: Monday, March 9, 2009, 4:08 PM

On Mon, Mar 9, 2009 at 6:03 PM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> On Mar 9, 2009, at 5:21 PM, John Drescher wrote:
>> On Mon, Mar 9, 2009 at 5:17 PM, Jim <jiksed at yahoo.com> wrote:
>>> Thank you. John. I would prefer to compile/build my VTK
application in
>>> VS2008 Pro Edition. My VS2005 is a standard edition which lacks
some key
>>> features. Will this configuration work fine?
>> I have found that you can not mix and match libraries from different
>> versions of visual studio in the same project.
>> John
> I use VS2008 Express with VTK just fine. What problems were you having?
Here is what I can get from the thread about vs2008 problems he was having:

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.

Powered by www.kitware.com

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Follow this link to subscribe/unsubscribe:

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

More information about the vtkusers mailing list