[vtkusers] Static Libraries in VS C++ 2005 Express

X Z xf10036 at hotmail.com
Fri Dec 16 16:33:51 EST 2005


1. Which version VTK are you building?  I didn't try anything higher than 
4.2

2. Do you see at the end of building "INSTALL", something like:

CMake Error: Error in cmake code at
c:/vtkbin/cmake_install.cmake:60:
FILE cannot find file: C:/vtkbin/CMake/cmVTK_WRAP_TCL2.dll to install.

My solution was to manual comment out the offending lines in 
"cmake_install.cmake", providing that you don't care about TCL, Java 
wrapping.

Xiaofeng Zhao
http://www.xzing.org




>From: "Tallhamer, Mike" <Mike.Tallhamer at USONCOLOGY.COM>
>To: X Z <xf10036 at hotmail.com>, "Tallhamer, Mike" 
><Mike.Tallhamer at usoncology.com>, vtkusers at vtk.org
>Subject: RE: [vtkusers] Static Libraries in VS C++ 2005 Express
>Date: Thu, 15 Dec 2005 15:24:47 -0600
>
>Thanks a lot Xiaofeng.
>
>I know have a question on the compiling of VTK (I may have done something
>wrong). When you configure the CMake options you wish to build I selected 
>to
>build the examples and I also set the path VTKData directory. When I build
>the solution in VS Express I selected the configuration manager and set the
>build type to release (not sure what the difference is between all the 
>build
>types...maybe someone could fill me in privately as not to bore the rest of
>the list members with things they all seem to understand) and set the ALL
>BUILD project to the startup project. I then Build ALL BUILD. Is that it???
>
>When I ran the INSTALL project all I got was
>
>C:\Program Files\VTK\include\vtk with only eight header files in it
>
>And
>
>C:\Program Files\VTK\lib\vtk ... with nothing in it???
>
>My inexperience is definitely showing through.
>
>-Mike
>
>-----Original Message-----
>From: X Z [mailto:xf10036 at hotmail.com]
>Sent: Thursday, December 15, 2005 1:25 PM
>To: Mike.Tallhamer at USONCOLOGY.COM; vtkusers at vtk.org
>Subject: RE: [vtkusers] Static Libraries in VS C++ 2005 Express
>
>With the solution loaded in VS.NET, select and build the project "INSTALL".
>
>This will copy all header files to a single directory (C:\usr\vtk\include).
>
>It will also copy the .lib files under the C:\usr\vtk directory tree.
>
>Xiaofeng Zhao
>http://www.xzing.org
>
>
>
>
> >From: "Tallhamer, Mike" <Mike.Tallhamer at USONCOLOGY.COM>
> >To: vtkusers at vtk.org
> >Subject: [vtkusers] Static Libraries in VS C++ 2005 Express Date: Thu, 15
> >Dec 2005 12:53:33 -0600
> >
> >VTK Users
> >
> >
> >
> >I have been able to compile some static libraries using CMake and VS C++
> >2005 Express. I'm new to the Windows environment and need someone to help
> >me
> >figure out how to use these lib files (in C:\Compiled\VTK\bin\release) in 
>a
> >VS C++ 2005 Express application. The .h files are in the source tree on
> >C:\VTK\"various sub folders" and I have done an out of source build to
> >C:\Compiled\VTK\bin\release where the .lib files reside. I'm sure it is
> >something simple as setting up some path variables or something but when 
>I
> >set the Lib path to the C:\Compiled\VTK\bin\release it doesn't appear to
> >work.
> >
> >
> >
> >Thanks,
> >
> >Michael Tallhamer
> >
> >
> >
> >
> >
> >
> >-----------------------------------------
> >The contents of this electronic mail message and any attachments are
> >confidential, possibly privileged and intended for the addressee(s)
> >only.  Only the addressee(s) may read, disseminate, retain or otherwise
> >use this message.  If received in error, please immediately inform the
> >sender and then delete this message without disclosing its contents to
> >anyone.
>
>
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the 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