[CMake] [Temproraly Solution , may be bug in cmake] Re: cmake error in windows 7 , visual studio 2008

Ramazan Girgin ramazangirgin at gmail.com
Mon Mar 22 04:31:27 EDT 2010


I am running Visual Studio 2008 Pro edition.

On Fri, Mar 19, 2010 at 4:38 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> What version of Visual Studio 2008 are you running? Express. Standard? Pro?
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
>
>
>
> On Mar 19, 2010, at 10:27 AM, Ramazan Girgin wrote:
>
>  I insert
>> SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file
>> and
>> SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file
>>
>> for disable testing of compiler.
>>
>> After that cmake generated make file correctly and i compiled may
>> application.
>> Another temp solution may be put this lines int to CMakeLists.txt file.
>> But this is temp solution.
>> May be any bug in cmake ?
>>
>> 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.
>>
>> http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/b1d1bceb-06b6-47ef-a0ea-23ea752e0c4f
>>
>>
>>
>>
>> On Thu, Mar 18, 2010 at 8:48 PM, Ramazan Girgin <ramazangirgin at gmail.com>
>> wrote:
>> i work in my local computer.
>> I can compile with visual studio2008. I give all permissions to user as
>> administrator and disabled dep in window7
>>
>>
>> On Thu, Mar 18, 2010 at 5:52 PM, Bill Hoffman <bill.hoffman at kitware.com>
>> wrote:
>> Ramazan Girgin wrote:
>> Hi all,
>> I want to compile 32bit app in 64 bit windows 7.
>>
>> I can compile with vs2008 but
>> when i try to configures for compile with cmake it gives. i use cmake 2.8
>> How can i solve that error ?
>>
>>  C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New
>>  folder\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1033: cannot
>> open
>>  program database ''
>>  NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' :
>> return
>>  code '0x2'
>>
>>
>> I this I have seen this.... :)
>>
>> Are you ssh'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?
>>
>> -Bill
>>
>>
>>
>> --
>> Ramazan Girgin
>>
>>
>>
>> --
>> Ramazan Girgin
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Ramazan Girgin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100322/7d9664b9/attachment-0001.htm>


More information about the CMake mailing list