Kezdőoldal » Számítástechnika » Programok » Cmake hiba: Error in Configura...

Cmake hiba: Error in Configuration process, project files may be invalid mi a hiba?

Figyelt kérdés

Egy World of Warcraft private szervert szeretnék csinálni, hogy tudjak rá fejleszteni, de mikor a Trinity motort próbálom Compile-olni, akkor ezt az üzenetet kapom:


kép --> [link]


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: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe

Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- broken

CMake Error at C:/progik/cmake-3.6.0-rc2-win32-x86/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:61 (message):

The C compiler "C:/Program Files (x86)/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:/test/build/CMakeFiles/CMakeTmp



Run Build

Command:"c:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"

"cmTC_47f64.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=10.0"


Microsoft (R) Build Engine version 4.0.30319.17929



[Microsoft .NET Framework, version 4.0.30319.18063]



Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2016.06.21. 13:42:18.



Project "C:\test\build\CMakeFiles\CMakeTmp\cmTC_47f64.vcxproj" on node 1

(default targets).



PrepareForBuild:



Creating directory "cmTC_47f64.dir\Debug".


Creating directory "C:\test\build\CMakeFiles\CMakeTmp\Debug".



InitializeBuildStatus:



Creating "cmTC_47f64.dir\Debug\cmTC_47f64.unsuccessfulbuild" because "AlwaysCreate" was specified.



ClCompile:



C:\Program Files (x86)\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"cmTC_47f64.dir\Debug\" /Fd"cmTC_47f64.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c


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"cmTC_47f64.dir\Debug\" /Fd"cmTC_47f64.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c



testCCompiler.c



ManifestResourceCompile:



C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTC_47f64.dir\Debug\cmTC_47f64.exe.embed.manifest.res" cmTC_47f64.dir\Debug\cmTC_47f64_manifest.rc



Link:



C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\test\build\CMakeFiles\CMakeTmp\Debug\cmTC_47f64.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:"cmTC_47f64.dir\Debug\cmTC_47f64.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/test/build/CMakeFiles/CMakeTmp/Debug/cmTC_47f64.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/test/build/CMakeFiles/CMakeTmp/Debug/cmTC_47f64.lib" /MACHINE:X86 cmTC_47f64.dir\Debug\cmTC_47f64.exe.embed.manifest.res


cmTC_47f64.dir\Debug\testCCompiler.obj /machine:X86



LINK : fatal error LNK1123: failure during conversion to COFF: file invalid

or corrupt [C:\test\build\CMakeFiles\CMakeTmp\cmTC_47f64.vcxproj]



Done Building Project

"C:\test\build\CMakeFiles\CMakeTmp\cmTC_47f64.vcxproj" (default targets) --

FAILED.



Build FAILED.



"C:\test\build\CMakeFiles\CMakeTmp\cmTC_47f64.vcxproj" (default target) (1)

->



(Link target) ->



LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\test\build\CMakeFiles\CMakeTmp\cmTC_47f64.vcxproj]



0 Warning(s)


1 Error(s)



Time Elapsed 00:00:00.48



CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:15 (project)



Configuring incomplete, errors occurred!

See also "C:/test/build/CMakeFiles/CMakeOutput.log".

See also "C:/test/build/CMakeFiles/CMakeError.log".



A válaszokat előre is köszönöm.



2016. jún. 21. 13:47
 1/1 A kérdező kommentje:
MEGOLDVA
2016. jún. 22. 21:34

Kapcsolódó kérdések:




Minden jog fenntartva © 2024, www.gyakorikerdesek.hu
GYIK | Szabályzat | Jogi nyilatkozat | Adatvédelem | Cookie beállítások | WebMinute Kft. | Facebook | Kapcsolat: info(kukac)gyakorikerdesek.hu

A weboldalon megjelenő anyagok nem minősülnek szerkesztői tartalomnak, előzetes ellenőrzésen nem esnek át, az üzemeltető véleményét nem tükrözik.
Ha kifogással szeretne élni valamely tartalommal kapcsolatban, kérjük jelezze e-mailes elérhetőségünkön!