[vtkusers] compiling vtk

David Partyka david.partyka at kitware.com
Sat Apr 9 14:48:07 EDT 2011


When you run CMake did you launch if from a mingw/msys terminal? You have to
do that so that it will find the compiler.

On Sat, Apr 9, 2011 at 1:49 PM, Christian Vander Jagt <
chrisvanderjagt at yahoo.com> wrote:

> Hi. I am attempting to use CMake to compile VTK so that I can use it with
> Python. I am using CMake 2.8.4 GUI. When I try to compile, I get this
> message:
> CMake Error: CMake was unable to find a build program corresponding to
> "Visual Studio 8 2005". CMAKE_MAKE_PROGRAM is not set. You probably need to
> select a different build tool.
>
> CMake Error: Could not find cmake module file:C:/Program Files/CMake
> 2.8/vtk/CMakeFiles/CMakeCCompiler.cmake
>
> CMake Error: Could not find cmake module file:C:/Program Files/CMake
> 2.8/vtk/CMakeFiles/CMakeCXXCompiler.cmake
>
> Configuring incomplete, errors occurred!
>
> I am specifiying the compilers (mingw32-gcc.exe for C and mingw32-c++.exe
> for C++, leaving Fortran blank), I have the correct path to the source code,
> and the folder i am trying to build it in is C:/Program Files/CMake 2.8/vtk
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110409/24524dc2/attachment.htm>


More information about the vtkusers mailing list