<div dir="ltr">I also test with C:\OpenGL\cmake-2.6.1\Example\Hello which I believe foloows the simple test case you described with c:\foo<br><br>And same result: cl.exe can't build a simple project.<br><br><br><br><div class="gmail_quote">
On Tue, Sep 23, 2008 at 4:58 PM, Roger Martin <span dir="ltr"><<a href="mailto:waldensianspirit@gmail.com">waldensianspirit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Setting the full path fixes it. I'm wondering, on relative paths, if the cmake home/bin directory is the root.<br><br>Yes, ./ is the current directory of the project from where I run a cmd script.<br><br>
------------<br>With the paths fixed as you pointed out, I then get an error dialog with ...<br>The C compiler "C:/Program Files (x86)/Microsoft Visual Studio<br> 9.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.<br>
...<br>But by hand-build-environment, I can compile and link a 64 bit program with cl.exe and the Windows SDK<br><br>I use Netbeans and Visual C++ 2008 Express IDE's.<br><br>But for some complex projects such as <a href="http://www.openscenegraph.org" target="_blank">http://www.openscenegraph.org</a> CMake is the right tool.<div>
<div></div><div class="Wj3C7c"><br>
<br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 4:34 PM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>Roger Martin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to build a build with cmake-2.6.1-win32-x86 CMakeSetup for "Visual Studio 9 2008 Win64" as the build target.<br>
<br>
Keep getting a<br>
---------------------------<br>
<br>
CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does not exist.<br>
Specify --help for usage, or press the help button on the CMake GUI.<br>
<br>
---------------------------<br>
<br>
but when I look, the directory is there; it does exist. Got the nightly build to see what could be the problem or if the issue has already been caught and fixed. Yet get the same issue trying to setup the build for cmake [Was also going to try to compile cmake for 64 bit machines].<br>
<br>
The project root is ./ and the build folder is ./build. <br>
<br>
</blockquote>
<br></div></div>
Could this be some sort of path length issue? What is "."?<br>
<br>
Also, can you build a very simple project:<br>
<br>
c:/foo/CMakeLists.txt<br>
add_library(foo foo.c)<br>
<br>
Run CMakeSetup and set source to c:/foo and build to c:/foo/build.<br><font color="#888888">
<br>
-Bill<br>
<br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>