[Qgis-developer] Compiling tutorials on windows

Голубев Анатолий golubev at nordcomp.ru
Mon Feb 9 04:52:45 EST 2009


Hello, mailing list!
I`m new in QGIS developing and trying to compile tutorials on windows. 
I`m checked sources from svn:
svn co 
https://svn.osgeo.org/qgis/trunk/code_examples/1_hello_world_qgis_style
cd 1_hello_world_qgis_style
mkdir build
cd build
cmake ..

And CMake prints some errors:
CMake Error: CMake was unable to find a build program corresponding to 
"Visual Studio 6".  CMAKE_MAKE_PROGRAM is not set.  You probably need to 
select a different build tool.
CMake Error: Could not find cmake module 
file:C:/dev/1_hello_world_qgis_style/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module 
file:C:/dev/1_hello_world_qgis_style/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be 
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

What should I do to compile this tutorial? I have MinGW, Qt4.4.3 and 
QGIS 1.0 installed


More information about the Qgis-developer mailing list