View Single Post
  #1  
Old 01-19-2013, 02:42 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default Compiling with CMake

No idea if this is a real error or a stupid mistake. I get an app crash during the config process.

Microsoft Resource File to COFF Object Conversion Utility has stopped working
Code:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	cvtres.exe
  Application Version:	10.0.30319.1
  Application Timestamp:	4ba1dc04
  Fault Module Name:	ntdll.dll
  Fault Module Version:	6.0.6002.18541
  Fault Module Timestamp:	4ec3e39f
  Exception Code:	c000007b
  Exception Offset:	0006f52f
  OS Version:	6.0.6002.2.2.0.256.1
  Locale ID:	1033
  Additional Information 1:	9d13
  Additional Information 2:	1abee00edb3fc1158f9ad6f44f0f6be8
  Additional Information 3:	9d13
  Additional Information 4:	1abee00edb3fc1158f9ad6f44f0f6be8
CMakeError
Code:
Determining if the C compiler works failed with the following output:
Change Dir: D:/Everquest/SVN/Source Code 2/Build/CMakeFiles/CMakeTmp

Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2515012569


Microsoft (R) Visual Studio Version 10.0.30319.1.

Copyright (C) Microsoft Corp. All rights reserved.

1>------ Build started: Project: cmTryCompileExec2515012569, Configuration: Debug x64 ------

1>  Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64

1>  Copyright (C) Microsoft Corporation.  All rights reserved.

1>  

1>  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2515012569.dir\Debug\\" /Fd"D:/Everquest/SVN/Source Code 2/Build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2515012569.pdb" /Gd /TC /errorReport:prompt testCCompiler.c  /Zm1000 

1>  

1>  testCCompiler.c

1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
CMakeOutput
Code:
The system is: Windows - 6.0 - x86
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:  
Build flags: ;/DWIN32;/D_WINDOWS;/W3;/Zm1000
Id flags: 

The output was:
0

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: CompilerIdC, Configuration: Debug x64 ------
1>  CMakeCCompilerId.c
1>  CompilerIdC.vcxproj -> D:\Everquest\SVN\Source Code 2\Build\CMakeFiles\2.8.10.2\CompilerIdC\.\CompilerIdC.exe
1>  CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\cl.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj.user"

The C compiler identification is MSVC, found in "D:/Everquest/SVN/Source Code 2/Build/CMakeFiles/2.8.10.2/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:  
Build flags: 
Id flags: 

The output was:
0

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: CompilerIdCXX, Configuration: Debug x64 ------
1>  CMakeCXXCompilerId.cpp
1>  CompilerIdCXX.vcxproj -> D:\Everquest\SVN\Source Code 2\Build\CMakeFiles\2.8.10.2\CompilerIdCXX\.\CompilerIdCXX.exe
1>  CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\cl.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj.user"

The CXX compiler identification is MSVC, found in "D:/Everquest/SVN/Source Code 2/Build/CMakeFiles/2.8.10.2/CompilerIdCXX/CompilerIdCXX.exe"
Reply With Quote