HI All. I am just setting a Windows 7 build machine, having installed VS2013 and CMake 3.5.2. On attempting to build the OSG (from github master), I get the follow error report from CMakeSetup. I've got VS2013 on another Wiindows 7 machine and haven't seen this error. I've reinstalled both VS2013 and CMake but the error remains.
Does anyone know what might be amiss? Output from CMakeSetup below. Thanks, Robert. The C compiler identification is MSVC 18.0.21005.1 The CXX compiler identification is MSVC 18.0.21005.1 Check for working C compiler using: Visual Studio 12 2013 Check for working C compiler using: Visual Studio 12 2013 -- broken CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Tmp/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_aadfb.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine version 12.0.21005.1 [Microsoft .NET Framework, version 4.0.30319.34209] Copyright (C) Microsoft Corporation. All rights reserved. Build started 21/04/2016 12:36:58. Project "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_aadfb.dir\Debug\". Creating directory "C:\Tmp\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_aadfb.dir\Debug\cmTC_aadfb.tlog\". InitializeBuildStatus: Creating "cmTC_aadfb.dir\Debug\cmTC_aadfb.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.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_aadfb.dir\Debug\\" /Fd"cmTC_aadfb.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86 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_aadfb.dir\Debug\\" /Fd"cmTC_aadfb.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c testCCompiler.c C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c(12): fatal error C1069: cannot read compiler command line [C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj] Done Building Project "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj" (default target) (1) -> (ClCompile target) -> C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c(12): fatal error C1069: cannot read compiler command line [C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.64 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:52 (PROJECT) Configuring incomplete, errors occurred! See also "C:/Tmp/CMakeFiles/CMakeOutput.log". See also "C:/Tmp/CMakeFiles/CMakeError.log".
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

