<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Robert,<br>
      <br>
      In some occasions this can be solved by putting the
      cmake-installation path and the visual studio "VC\bin" into the
      PATH environment (Rapid Environment Editor [1] is a great tool to
      do this without any pain).<br>
      If this doesn't help, start cmake-gui from the visual studio
      console. <br>
      Hope that helps.<br>
      <br>
      Cheers<br>
      Sebastian<br>
      <br>
      <br>
      <br>
      [1]<a class="moz-txt-link-freetext" href="http://www.rapidee.com">http://www.rapidee.com</a><br>
    </div>
    <blockquote
cite="mid:CAFN7Y+U=qmrPqg08E371YLhpKA=D6+6OnmUTdf6p65rSqAsiCw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>HI All.<br>
              <br>
            </div>
            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.<br>
            <br>
          </div>
          Does anyone know what might be amiss?  Output from CMakeSetup
          below.<br>
          <br>
        </div>
        <div>Thanks,<br>
        </div>
        Robert.<br>
        <div>
          <div><br>
            The C compiler identification is MSVC 18.0.21005.1
            <p style="margin:0px;text-indent:0px">The CXX compiler
              identification is MSVC 18.0.21005.1</p>
            <p style="margin:0px;text-indent:0px">Check for working C
              compiler using: Visual Studio 12 2013</p>
            <p style="margin:0px;text-indent:0px">Check for working C
              compiler using: Visual Studio 12 2013 -- broken</p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)">CMake Error at C:/Program
                Files
                (x86)/CMake/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61
                (message):<br>
                The C compiler "C:/Program Files (x86)/Microsoft Visual
                Studio<br>
                12.0/VC/bin/cl.exe" is not able to compile a simple test
                program.<br>
                <br>
                It fails with the following output:<br>
                <br>
                Change Dir: C:/Tmp/CMakeFiles/CMakeTmp<br>
                <br>
                <br>
                <br>
                Run Build Command:"C:/Program Files
                (x86)/MSBuild/12.0/bin/MSBuild.exe"<br>
                "cmTC_aadfb.vcxproj" "/p:Configuration=Debug"
                "/p:VisualStudioVersion=12.0"<br>
                <br>
                Microsoft (R) Build Engine version 12.0.21005.1</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                [Microsoft .NET Framework, version 4.0.30319.34209]</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Copyright (C) Microsoft Corporation. All rights
                reserved.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Build started 21/04/2016 12:36:58.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Project "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj"
                on node 1 (default<br>
                targets).</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                PrepareForBuild:</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Creating directory "cmTC_aadfb.dir\Debug\".</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                Creating directory "C:\Tmp\CMakeFiles\CMakeTmp\Debug\".</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                Creating directory
                "cmTC_aadfb.dir\Debug\cmTC_aadfb.tlog\".</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                InitializeBuildStatus:</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Creating
                "cmTC_aadfb.dir\Debug\cmTC_aadfb.tlog\unsuccessfulbuild"
                because "AlwaysCreate" was specified.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                ClCompile:</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                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</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                Microsoft (R) C/C++ Optimizing Compiler Version
                18.00.21005.1 for x86</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                Copyright (C) Microsoft Corporation. All rights
                reserved.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                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</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                testCCompiler.c</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c(12): fatal
                error C1069: cannot<br>
                read compiler command line
                [C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj]</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Done Building Project
                "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj"<br>
                (default targets) -- FAILED.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Build FAILED.</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                "C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj" (default
                target) (1) -></span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                (ClCompile target) -> </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                C:\Tmp\CMakeFiles\CMakeTmp\testCCompiler.c(12): fatal
                error C1069: cannot read compiler command line
                [C:\Tmp\CMakeFiles\CMakeTmp\cmTC_aadfb.vcxproj]</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                0 Warning(s)</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                1 Error(s)</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                Time Elapsed 00:00:00.64</span></p>
            <p style="margin:0px;text-indent:0px"><span
                style="color:rgb(255,0,0)"><br>
                <br>
                <br>
                <br>
                <br>
                <br>
                CMake will not be able to correctly generate this
                project.<br>
                Call Stack (most recent call first):<br>
                CMakeLists.txt:52 (PROJECT)<br>
                <br>
              </span></p>
            <p style="margin:0px;text-indent:0px">Configuring
              incomplete, errors occurred!</p>
            <p style="margin:0px;text-indent:0px">See also
              "C:/Tmp/CMakeFiles/CMakeOutput.log".</p>
            <p style="margin:0px;text-indent:0px">See also
              "C:/Tmp/CMakeFiles/CMakeError.log".</p>
            <br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>