Dear Community,
I am following the developers' step by step guide but have trouble to configure CMake on a Windows 7 64 bit machine. I installed CMake 3.6.1 and Visual Studio 10 2010 express. I tried various other versions but the problem remains the same. On my computer .net framework 4.6 is installed. Below I post the error message. I would appreciate any help.
With kind regards
Christian Greve
Error log:
Determining if the C compiler works failed with the following output:
Change Dir: C:/OpenSimWorkspace/ExampleMain/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe" "cmTC_dfd34.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=10.0"
Microsoft (R) Build Engine version 4.6.1055.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 17-8-2016 8:39:14.
Project "C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\cmTC_dfd34.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_dfd34.dir\Debug\".
Creating directory "C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\Debug\".
InitializeBuildStatus:
Creating "cmTC_dfd34.dir\Debug\cmTC_dfd34.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_dfd34.dir\Debug\\" /Fd"cmTC_dfd34.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_dfd34.dir\Debug\\" /Fd"cmTC_dfd34.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_dfd34.dir\Debug\cmTC_dfd34.exe.embed.manifest.res" cmTC_dfd34.dir\Debug\cmTC_dfd34_manifest.rc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\Debug\cmTC_dfd34.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_dfd34.dir\Debug\cmTC_dfd34.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/OpenSimWorkspace/ExampleMain/build/CMakeFiles/CMakeTmp/Debug/cmTC_dfd34.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/OpenSimWorkspace/ExampleMain/build/CMakeFiles/CMakeTmp/Debug/cmTC_dfd34.lib" /MACHINE:X86 cmTC_dfd34.dir\Debug\cmTC_dfd34.exe.embed.manifest.res
cmTC_dfd34.dir\Debug\testCCompiler.obj /machine:X86
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\cmTC_dfd34.vcxproj]
Done Building Project "C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\cmTC_dfd34.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\cmTC_dfd34.vcxproj" (default target) (1) ->
(Link target) ->
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\OpenSimWorkspace\ExampleMain\build\CMakeFiles\CMakeTmp\cmTC_dfd34.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.48
CMake Error in configuration process
- Christian Greve
- Posts: 41
- Joined: Mon Jun 13, 2016 11:14 pm
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: CMake Error in configuration process
What version of OpenSim do you use? You probab ly need to upgrate to newer version of VS.
- Christian Greve
- Posts: 41
- Joined: Mon Jun 13, 2016 11:14 pm
Re: CMake Error in configuration process
Thanks for your reply
I use the latest version: 3.3
I use the latest version: 3.3
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: CMake Error in configuration process
You need to install the appropriate visual studio.
instructioms:
http://simtk-confluence.stanford.edu:80 ... ew/6750730
instructioms:
http://simtk-confluence.stanford.edu:80 ... ew/6750730