<div dir="ltr">Hi Robert,<div><br></div><div>Builds and osgviewer runs fine with VS 2015 Win64.</div><div>I got these debug output to the console :</div><div><br></div><div><div>_forceVertexArrayObject = 0<br></div><div>_forceVertexBufferObject = 0</div><div>_forceVertexArrayObject = 0</div><div>_forceVertexBufferObject = 0</div><div>_forceVertexArrayObject = 0</div><div>_forceVertexBufferObject = 0</div><div>ViewerBase::configureAffinity() numProcessors=8</div><div>  databasePagers = 1</div></div><div><br></div><div>Cheers,</div><div>Mourad</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 15, 2017 at 3:56 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mourad,<br>
<br>
On 15 May 2017 at 14:52, Mourad Boufarguine<br>
<span class=""><<a href="mailto:mourad.boufarguine@gmail.com">mourad.boufarguine@gmail.com</a>> wrote:<br>
> You're right we need both :<br>
><br>
> COLLADA_BOOST_BUILDNAME : to follow boost naming convention with 3 digits<br>
> for MSVC toolset version<br>
> COLLADA_BUILDNAME : to follow collada naming convention with 1/2 digits for<br>
> MSVC toolset version<br>
<br>
</span>I've been thinking along the same lines, I've refactored the<br>
FindCOLLADA.cmake to use a combination of your and Toroben's versions,<br>
the changes are :<br>
<br>
<br>
diff --git a/CMakeModules/FindCOLLADA.<wbr>cmake b/CMakeModules/FindCOLLADA.<wbr>cmake<br>
index f086069..5fb2cec 100644<br>
--- a/CMakeModules/FindCOLLADA.<wbr>cmake<br>
+++ b/CMakeModules/FindCOLLADA.<wbr>cmake<br>
@@ -23,37 +23,38 @@ ELSE ()<br>
 ENDIF()<br>
<br>
<br>
-<br>
-<br>
-<br>
 IF(APPLE)<br>
     SET(COLLADA_BUILDNAME "mac")<br>
-    SET(COLLADA_BOOST_BUILDNAME "mac")<br>
+  SET(COLLADA_BOOST_BUILDNAME ${COLLADA_BUILDNAME})<br>
 ELSEIF(MINGW)<br>
     SET(COLLADA_BUILDNAME "mingw")<br>
-    SET(COLLADA_BOOST_BUILDNAME "mingw")<br>
-ELSEIF(MSVC14)<br>
+  SET(COLLADA_BOOST_BUILDNAME ${COLLADA_BUILDNAME})<br>
+ELSEIF(MSVC_VERSION EQUAL 1900 OR MSVC_VERSION EQUAL 1910 )<br>
     SET(COLLADA_BUILDNAME "vc14")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSEIF(MSVC12)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc140")<br>
+ELSEIF(MSVC_VERSION EQUAL 1800)<br>
     SET(COLLADA_BUILDNAME "vc12")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSEIF(MSVC11)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc120")<br>
+ELSEIF(MSVC_VERSION EQUAL 1700)<br>
     SET(COLLADA_BUILDNAME "vc11")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSEIF(MSVC10)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc110")<br>
+ELSEIF(MSVC_VERSION EQUAL 1600)<br>
     SET(COLLADA_BUILDNAME "vc10")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSEIF(MSVC90)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc100")<br>
+ELSEIF(MSVC_VERSION EQUAL 1500)<br>
     SET(COLLADA_BUILDNAME "vc9")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSEIF(MSVC80)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc90")<br>
+ELSEIF(MSVC_VERSION EQUAL 1400)<br>
     SET(COLLADA_BUILDNAME "vc8")<br>
-    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
-ELSE(APPLE)<br>
+    SET(COLLADA_BOOST_BUILDNAME "vc80")<br>
+ELSE()<br>
   SET(COLLADA_BUILDNAME "linux")<br>
-  SET(COLLADA_BOOST_BUILDNAME "linux")<br>
-ENDIF(APPLE)<br>
+  SET(COLLADA_BOOST_BUILDNAME ${COLLADA_BUILDNAME})<br>
+ENDIF()<br>
+<br>
+IF(${CMAKE_VS_PLATFORM_<wbr>TOOLSET})<br>
+    string(REPLACE "v" "vc" COLLADA_BOOST_BUILDNAME<br>
${CMAKE_VS_PLATFORM_TOOLSET})<br>
+ENDIF()<br>
<br>
<br>
I have now checked this into git master, I'd appreciate testing out<br>
under Windows, fingers crossed we are getting a bit closer.<br>
<div class="HOEnZb"><div class="h5"><br>
Robert.<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>