[vtkusers] Build issues with 32 bit Visual Studio 2012

ianl ilindsay at insigniamedical.co.uk
Mon Mar 24 12:38:27 EDT 2014


Hello all,

I am currently trying to build VTK 6.1.0, 32 bit using Visual Studio 2012.
When I initially click configure in CMake (2.8.12.2), I get an error logged,
resulting in a message box similar to the one this thread talks about:

http://vtk.1045678.n5.nabble.com/VTK-CMake-BUILD-EXAMPLES-error-tt5726401.html

although I don't get as far as that user. The error CMake outputs is:

Check size of size_t
Check size of size_t - done
Check size of ssize_t
CMake Error at D:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:89 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    'D:/Build Areas/VTK/VTK
6.1.0/VTK32Build/CMakeFiles/CheckTypeSize/H5_SIZEOF_SSIZE_T.bin'

  Unable to find the executable at any of:

    D:/Build Areas/VTK/VTK
6.1.0/VTK32Build/CMakeFiles/CMakeTmp/cmTryCompileExec2095305303.exe
    D:/Build Areas/VTK/VTK
6.1.0/VTK32Build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2095305303.exe
    D:/Build Areas/VTK/VTK
6.1.0/VTK32Build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec2095305303.exe

Call Stack (most recent call first):
  D:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:174 (__check_type_size_impl)
  ThirdParty/hdf5/vtkhdf5/ConfigureChecks.cmake:249 (CHECK_TYPE_SIZE)
  ThirdParty/hdf5/vtkhdf5/ConfigureChecks.cmake:300 (H5_CHECK_TYPE_SIZE)
  ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:182 (INCLUDE)

If I then go on to generate a Visual Studio 2012 project for static
libraries (i.e. BUILD_SHARED_LIBS off), the build fails.

The 64 bit build works fine, which would indicate that there is nothing
seriously wrong with my Visual Studio installation and I have built the RC1
version (64 and 32 bit builds) previously without issues.

Any ideas would be very appreciated.

Thanks,
Ian Lindsay




--
View this message in context: http://vtk.1045678.n5.nabble.com/Build-issues-with-32-bit-Visual-Studio-2012-tp5726495.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list