Hello every one,<br><br>As I told it some times ago I am trying to build my application using libmarble on windows(xp) with Qt Creator.<br>I will post here all <span><span title="">the whole 
process and problems encountered gradually</span></span>.<br>You are welcome to help me to solves those issues if you have answers! :)<br><br>At last when the work-through will be found, I will sum it up here as a proposal for an HOWTO on the KDE Techbase.<br>




<br>So here is the beginning until the first blocking point : <br><br>First build Marble:<br><ul><li>installation of <a href="http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2010.02.1.exe" target="_blank">Qt sdk 2010.02.1</a> (Qt Creator 1.3.1 Qt 4.6.2 MinGW 3.15 GCC4.4.0)</li>




<li>installation <a href="http://www.cmake.org/files/v2.8/cmake-2.8.1-win32-x86.exe" target="_blank">CMAKE 2.8.1</a> , during the installation check the box &quot; Add CMake to the system&quot;<br></li><li>following this <a href="http://edu.kde.org/marble/obtain.php" target="_blank">http://edu.kde.org/marble/obtain.php</a> =&gt; svn co marble; create &#39;marble-build&#39; dir in the new checked out folder<br>




</li><li>as explained <a href="http://doc.qt.nokia.com/qtcreator-1.1/creator-cmake-support.html" target="_blank">here</a> import the marble\CMakeLists.txt passing &quot;-DQTONLY=ON ../&quot; argument</li><li>you obtain this message error :</li>




</ul><div style="margin-left: 40px;">CMake Error: CMake was unable to find a build program corresponding to &quot;MinGW Makefiles&quot;.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.<br>




CMake Error: CMake was unable to find a build program corresponding to &quot;MinGW Makefiles&quot;.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.<br>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>




Missing variable is:<br>CMAKE_C_COMPILER_ENV_VAR<br>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>Missing variable is:<br>CMAKE_C_COMPILER<br>CMake Error: Could not find cmake module file:D:/marbleSVN/marble-build/CMakeFiles/CMakeCCompiler.cmake<br>




CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>Missing variable is:<br>CMAKE_CXX_COMPILER_ENV_VAR<br>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>




Missing variable is:<br>CMAKE_CXX_COMPILER<br>CMake Error: Could not find cmake module file:D:/marbleSVN/marble-build/CMakeFiles/CMakeCXXCompiler.cmake<br>CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage<br>CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage<br>




-- Configuring incomplete, errors occurred!<br></div><ul><li>I haven&#39;t found yet how to solve this (i.e indicate to CMake the path of MinGW, I set an <span><span style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);" title="">environment variable</span></span> but it did not fix this.. if you have the answer.) properly so I just copy/paste C:\Qt\2010.02.1\mingw  to C:\mingw</li>




<li>now when you retry to import your cmake project in Qt Creator you have this error :</li></ul><div style="margin-left: 40px;">-- The C compiler identification is unknown
</div>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">-- The CXX compiler identification is unknown</p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">-- Check for working C compiler: C:/mingw/bin/gcc.exe</p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">-- Check for working C compiler: C:/mingw/bin/gcc.exe -- broken</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  The C compiler &quot;C:/mingw/bin/gcc.exe&quot; is not able to compile a simple testprogram.</p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  It fails with the following output: Change Dir: D:/marbleSVN/marble-build/CMakeFiles/CMakeTmp</p><p style="margin: 0px 0px 0px 40px; text-indent: 0px;"><br></p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  </p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  Run Build Command:C:/mingw/bin/mingw32-make.exe &quot;cmTryCompileExec/fast&quot;</p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  C:/mingw/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  CMakeFiles/cmTryCompileExec.dir/build</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  mingw32-make.exe[1]: Entering directory</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  `D:/marbleSVN/marble-build/CMakeFiles/CMakeTmp&#39;</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  &quot;C:\Program Files\CMake 2.8\bin\cmake.exe&quot; -E cmake_progress_report</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  D:\marbleSVN\marble-build\CMakeFiles\CMakeTmp\CMakeFiles 1</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  C:\mingw\bin\gcc.exe -o CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  -c D:\marbleSVN\marble-build\CMakeFiles\CMakeTmp\testCCompiler.c</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  mingw32-make.exe[1]: ***</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 1</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  mingw32-make.exe[1]: Leaving directory</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  `D:/marbleSVN/marble-build/CMakeFiles/CMakeTmp&#39;</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2</p><p style="margin: 0px 0px 0px 40px; text-indent: 0px;"><br></p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  </p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  </p>

<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  CMake will not be able to correctly generate this project.</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">Call Stack (most recent call first):</p>
<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">  CMakeLists.txt:1 (project)</p>


<p style="margin: 0px 0px 0px 40px; text-indent: 0px;">-- Configuring incomplete, errors occurred!</p><p style="margin: 0px 0px 0px 40px; text-indent: 0px;"><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">


So here where I am!</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">If any one can help...</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">I will continue to search a solution tomorrow <br>

</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">
CU</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; text-indent: 0px;">Sylvain (aka GarthPS)<br></p><p style="margin: 0px 0px 0px 40px; text-indent: 0px;"><br></p>