[vtkusers] FW: VS 2005 Express Help

Tallhamer, Mike Mike.Tallhamer at USONCOLOGY.COM
Wed Jan 4 13:28:09 EST 2006


I have been able to compile VTK on Windows using the free VS 2005 Express. 

 

CMake Settings:

My source code is in:               C:\VTK

My binaries were built in:        C:\Compiled\VTK

 

CMAKE_INSTALL_PREFIX:       C:\Compiled\VTK

VTK_DATA_ROOT:                   C:\VTKData 

BUILD_SHARED_LIBS:             OFF

BUILD_EXAMPLES:                  ON

BUILD_TESTING:                      ON

 

Build log was saved at
"file://c:\Compiled\VTK\ALL_BUILD.dir\Release\BuildLog.htm"

ALL_BUILD - 0 error(s), 0 warning(s)

========== Build: 25 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

 

 

When I build RUN_TESTS after the build is completed all test finish
successfully 

 

100% tests passed, 0 tests failed out of 36

Build log was saved at
"file://c:\Compiled\VTK\RUN_TESTS.dir\Release\BuildLog.htm"

RUN_TESTS - 0 error(s), 0 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

 

When I build the INSTALL project I get this output at the end of the build

 

CMake Error: Error in cmake code at

c:/Compiled/VTK/cmake_install.cmake:52:

FILE cannot find file: C:/Compiled/VTK/CMake/cmVTK_WRAP_TCL2.dll to install.

Build log was saved at
"file://c:\Compiled\VTK\INSTALL.dir\Release\BuildLog.htm"

INSTALL - 0 error(s), 0 warning(s)

========== Build: 2 succeeded, 0 failed, 24 up-to-date, 0 skipped ==========

 

 

But with all of this when I try to compile the simple
C:\VTK\Examples\GUI\Win32\SimpleCxx\Win32Cone.cxx example in VS 2005 Express
I get errors like this one: 

 

Win32Cone.cxx

c:\vtk\examples\gui\win32\simplecxx\win32cone.cxx(23) : fatal error C1083:
Cannot open include file: 'vtkConeSource.h': No such file or directory

Build log was saved at "file://c:\Documents and Settings\Mike\My
Documents\Visual Studio 2005\Projects\test5\test5\Debug\BuildLog.htm"

test5 - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Everything appears to work fine on Linux with the CMake generated makefile
and the examples work.

 

What am I doing wrong?

-Mike

 




-----------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060104/2452e877/attachment.htm>


More information about the vtkusers mailing list