<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Robert,<br>
    <div class="moz-signature"><br>
    </div>
    <div class="moz-cite-prefix">On 5/15/2017 5:13 AM, Robert Osfield
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFN7Y+WkUpvMZHHE19043iiyhJs7swOnu+SxZ1UG6vCOSqJSAA@mail.gmail.com">
      <pre wrap="">Hi Stuart,

On 12 May 2017 at 14:32, Stuart Mentzer <a class="moz-txt-link-rfc2396E" href="mailto:Stuart_Mentzer@objexx.com"><Stuart_Mentzer@objexx.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I always build from scratch in an empty build directory.
</pre>
      </blockquote>
      <pre wrap="">
Thanks for the clarification.

</pre>
      <blockquote type="cite">
        <pre wrap="">Adding " around the 3rd and 4th args in the REPLACE lines did indeed
eliminate the error. Torben should check that this is still OK when the
Collada plugin is in use.
</pre>
      </blockquote>
      <pre wrap="">
I'm currently looking at the changes and the error report, trying to
make sense of what is the root of the issue and how to resolve it.
Unfortunately I haven't heard from Torben yet so don't yet know what
his thoughts are.  Form what I understand Torben introduced the
COLLADA_BOOST_BUILDNAME to cope with variations under Windows related
to the platform tools set, hence the introduction of the
CMAKE_VS_PLATFORM_TOOLSET in the lines like:


ELSEIF(MSVC14)
    SET(COLLADA_BUILDNAME "vc14")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSEIF(MSVC12)
    SET(COLLADA_BUILDNAME "vc12")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSEIF(MSVC11)
    SET(COLLADA_BUILDNAME "vc11")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSEIF(MSVC10)
    SET(COLLADA_BUILDNAME "vc10")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSEIF(MSVC90)
    SET(COLLADA_BUILDNAME "vc9")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSEIF(MSVC80)
    SET(COLLADA_BUILDNAME "vc8")
    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME
${CMAKE_VS_PLATFORM_TOOLSET})
ELSE(APPLE)

CMaker docs for the CMAKE_VS_PLATFORM_TOOLSET} are:

    <a class="moz-txt-link-freetext" href="https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_PLATFORM_TOOLSET.html">https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_PLATFORM_TOOLSET.html</a>

Which mentons that it's set for VC10 and above.  Torben uses the
CMAKE_VS_PLATFORM_TOOLSET for vc8 and vc9 above, so I'm not what would
happen here.

What VC number is reported on your system?</pre>
    </blockquote>
    Visual C++ 2015 corresponds to MSVC14.
    <blockquote type="cite"
cite="mid:CAFN7Y+WkUpvMZHHE19043iiyhJs7swOnu+SxZ1UG6vCOSqJSAA@mail.gmail.com">
      <blockquote type="cite">
        <pre wrap="">[Separate issue: curl 7.54.0 (latest) has a build error under VC++ 2015 but
the prev version builds OK]
</pre>
      </blockquote>
      <pre wrap="">
Is this a build error in curl, or the OSG plugin building against curl 7.54.0?</pre>
    </blockquote>
    It is in the curl build itself. Here is the bug report I filed:
    <a class="moz-txt-link-freetext" href="https://github.com/curl/curl/issues/1482">https://github.com/curl/curl/issues/1482</a>
    <blockquote type="cite"
cite="mid:CAFN7Y+WkUpvMZHHE19043iiyhJs7swOnu+SxZ1UG6vCOSqJSAA@mail.gmail.com">
      <pre wrap="">
Thanks,
Robert.
_______________________________________________
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>
    Cheers,<br>
    Stuart<br>
  </body>
</html>