I insert <br>SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file <br>and<br>SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file<br><br>for disable testing of compiler.<br><br>After that cmake generated make file correctly and i compiled may application.<br>
Another temp solution may be put this lines int to CMakeLists.txt file.<br>But this is temp solution.<br>May be any bug in cmake ?<br><br>I found something about cl.exe gives errors like this if more than one cpu in computer.It may be related to this. I have 4 core cpu too.<br>
<a href="http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/b1d1bceb-06b6-47ef-a0ea-23ea752e0c4f">http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/b1d1bceb-06b6-47ef-a0ea-23ea752e0c4f</a><br><br>
<br><br><h1><a title="View CMakeTestCXXCompiler.cmake" href="http://trac-hg.assembla.com/CMakeLua/browser/Modules/CMakeTestCXXCompiler.cmake?rev=313%3Aa5cad95a641e"></a></h1><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 8:48 PM, Ramazan Girgin <span dir="ltr">&lt;<a href="mailto:ramazangirgin@gmail.com">ramazangirgin@gmail.com</a>&gt;</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>i work in my local computer.</div>I can compile with visual studio2008. I give all permissions to user as administrator and disabled dep in window7<div>
<div><br><br><div class="gmail_quote"><div class="im">On Thu, Mar 18, 2010 at 5:52 PM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Ramazan Girgin 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 all,<br>
I want to compile 32bit app in 64 bit windows 7.<br>
<br>
I can compile with vs2008 but<br>
when i try to configures for compile with cmake it gives. i use cmake 2.8<br>
How can i solve that error ?<br>
</blockquote>
<br>
</div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New<br>
  folder\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1033: cannot open<br>
  program database &#39;&#39;<br>
   NMAKE : fatal error U1077: &#39;C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe&#39; : return<br>
  code &#39;0x2&#39;<br>
 <br>
</blockquote>
<br></div>
I this I have seen this.... :)<br>
<br>
Are you ssh&#39;ing into the windows box with cygwin sshd?  The problem is a permission thing.   Can you compile a program without cmake on the command line that has debug info?<br><font color="#888888">
<br>
-Bill<br>
</font></blockquote></div></div></div><br><br clear="all"><br>-- <br>Ramazan Girgin<br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Ramazan Girgin<br>