I deleted the cache in the CMAKE gui and started over again without any of the Qt stuff - I' figured I'd add that in after the initial configure. This is what I had set in the CMAKE gui to start. <br><br>CMAKE_CXX_COMPILER     C:/Program Files (x86)/CodeBlocks/codeblocks.exe<br>
CMAKE_C_COMPILERÂ Â Â Â Â Â Â Â Â C:/Program Files (x86)/CodeBlocks/codeblocks.exe<br>CMAKE_MAKE_PROGRAMÂ Â C:/Program Files (x86)/CodeBlocks/MinGW/bin/mingw32-make.exe<br>CMAKE_SHÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â - not filled in<br>CMAKE_USE_RELATIVE_PATHS - unchecked<br>
<br>I get this error message when I press configure.<br><br>The C compiler identification is unknown
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The CXX compiler identification is unknown</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check for working C compiler: C:/Program Files (x86)/CodeBlocks/codeblocks.exe</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check for working C compiler: C:/Program Files (x86)/CodeBlocks/codeblocks.exe -- broken</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> The C compiler "C:/Program Files (x86)/CodeBlocks/codeblocks.exe" is not</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> able to compile a simple test program.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> It fails with the following output:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Change Dir: C:/Program Files (x86)/VTK_build/CMakeFiles/CMakeTmp</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Run Build Command:C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> "cmTryCompileExec/fast"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe -f</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CMakeFiles\cmTryCompileExec.dir\build.make</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CMakeFiles/cmTryCompileExec.dir/build</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> mingw32-make.exe[1]: Entering directory `C:/Program Files</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> (x86)/VTK_build/CMakeFiles/CMakeTmp'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> "C:\Program Files (x86)\VTK_build\CMakeFiles\CMakeTmp\CMakeFiles" 1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> C:\PROGRA~2\CODEBL~1\CODEBL~1.EXE -o</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj -c "C:\Program Files</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> (x86)\VTK_build\CMakeFiles\CMakeTmp\testCCompiler.c"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> mingw32-make.exe[1]: ***</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error -1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> mingw32-make.exe[1]: Leaving directory `C:/Program Files</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> (x86)/VTK_build/CMakeFiles/CMakeTmp'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CMake will not be able to correctly generate this project.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Call Stack (most recent call first):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CMakeLists.txt:9 (PROJECT)</p><br>Not sure what to do here? This is my first time using CMAKE and I haven't had much experience with makefiles in general, so please pardon my lack of knowledge in this area. <br>
<br>Jothy asked if I had built Qt using mingw. Yes, it was built using mingw.<br><br><br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 9:54 AM, John Drescher-2 [via VTK] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4647157&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
On Thu, Jul 28, 2011 at 10:51 AM, com <<a href="http://user/SendEmail.jtp?type=node&node=4642998&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
<div><div class='shrinkable-quote'><br>> Thanks for the advice. I downloaded CodeBlocks and and choose the CodeBlocks
<br>> - MinGW Makefiles options in CMake. I checked to see what compiler
<br>> CodeBlocks is using, and it says GNU GCC Compiler - not sure if this is what
<br>> I want or if I need something else. Unfortunately I get the following error
<br>> message:
<br>>
<br>> CMake Error: CMake was unable to find a build program corresponding to
<br>> "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to
<br>> select a different build tool.
<br>>
</div></div></div><div class="im">Find the directory for the make that mingw uses and set this variable
<br>in cmake-gui
<br><br>John
<br></div><div class="im">_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
</div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</div><a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4642998.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4642998.html</a>
</div><div><div></div><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
To unsubscribe from trouble setting up VTK for Qt creator, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
</div></div></div></blockquote></div><br>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4647157.html">Re: trouble setting up VTK for Qt creator</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>