Thread: CMake
View Single Post
  #12  
Old 01-21-2013, 01:59 PM
Disorder
Hill Giant
 
Join Date: Apr 2010
Location: USA
Posts: 133
Default Cmake Error

Hey guys,

New at this, sorry for the troubles. I'm getting an error using Cmake right at the start of the compile. I downloaded cmake, and I downloaded the source via command prompt. It put the EQEmuCmake folder in my user files. Are these supposed to go in the trunk folder as well? I tried that, same error.

Thanks in advance.

I get the following Error:

Quote:
The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/source/trunk/EQEmuServer/build/CMakeFiles/CMakeTmp



Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30 319\MSBuild.exe
cmTryCompileExec15988979.vcxproj /p:Configuration=Debug
/p:VisualStudioVersion=10.0

Microsoft (R) Build Engine version 4.0.30319.17929

[Microsoft .NET Framework, version 4.0.30319.17929]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 1/21/2013 11:50:36 AM.

Project
"C:\source\trunk\EQEmuServer\build\CMakeFiles\CMak eTmp\cmTryCompileExec15988979.vcxproj"
on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTryCompileExec15988979.dir\Debug\".
Creating directory "C:\source\trunk\EQEmuServer\build\CMakeFiles\CMak eTmp\Debug\".

InitializeBuildStatus:

Creating "cmTryCompileExec15988979.dir\Debug\cmTryCompileEx ec15988979.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec15988979.dir\Debug\\" /Fd"C:/source/trunk/EQEmuServer/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec15988979.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c /Zm1000
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec15988979.dir\Debug\\" /Fd"C:/source/trunk/EQEmuServer/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec15988979.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c /Zm1000

testCCompiler.c

ManifestResourceCompile:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec15988979.dir\Debug\cmTryCompile Exec15988979.exe.embed.manifest.res" cmTryCompileExec15988979.dir\Debug\cmTryCompileExe c15988979_manifest.rc

Link:

C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\source\trunk\EQEmuServer\build\CMakeFiles\ CMakeTmp\Debug\cmTryCompileExec15988979.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec15988979.dir\Debug\c mTryCompileExec15988979.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/source/trunk/EQEmuServer/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec15988979.pdb" /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/source/trunk/EQEmuServer/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec15988979.lib" /MACHINE:X86 cmTryCompileExec15988979.dir\Debug\cmTryCompileExe c15988979.exe.embed.manifest.res
cmTryCompileExec15988979.dir\Debug\testCCompiler.o bj /machine:X86 /debug

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
or corrupt
[C:\source\trunk\EQEmuServer\build\CMakeFiles\CMake Tmp\cmTryCompileExec15988979.vcxproj]


Done Building Project
"C:\source\trunk\EQEmuServer\build\CMakeFiles\CMak eTmp\cmTryCompileExec15988979.vcxproj"
(default targets) -- FAILED.



Build FAILED.




"C:\source\trunk\EQEmuServer\build\CMakeFiles\CMak eTmp\cmTryCompileExec15988979.vcxproj"
(default target) (1) ->

(Link target) ->

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\source\trunk\EQEmuServer\build\CMakeFiles\CMake Tmp\cmTryCompileExec15988979.vcxproj]



0 Warning(s)
1 Error(s)



Time Elapsed 00:00:00.40





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (PROJECT)


Configuring incomplete, errors occurred!
Thanks,
Disorder
Reply With Quote