geoffmcl / test-sg

Some tests of the FG SimGear libs, and d-and-c.x64.bat
GNU General Public License v2.0
0 stars 1 forks source link

Scripts: New /O option to use OSG repo build #7

Open geoffmcl opened 8 years ago

geoffmcl commented 8 years ago

The default action of the d-and-c.x64.bat is to use the OpenSceneGraph (OSG) binaries from Jenkin's slimpits... this just download an archive.zip, and unzips it into install\archive\install\msvcXXX\Openscenegraph, then copies the contents to the OSG install directory... all done...

Jasin suggested an /O option to clone and build from source, a specific OSG version. See this commit - https://github.com/jasin/test-sg/commit/99f936e7a18c64931cf614b6d62ccefd75fcce21#commitcomment-17482972

I was able to cut-and-paste this OSG code into 'd-and-c.x64.batin thenext` branch...

Will push this after a few more tests...

geoffmcl commented 8 years ago

This fix is now in the master branch...

In a few tests using the /O option worked for me... my installed OSG was updated to the version chosen, without problems...

I did note there were residual libraries in the install directory... maybe these should be cleaned up by a /O clone, build, install... but they cause no problem since the OSG include was correctly updated to the later version from git, than used on simpits...

Testing of this would be much appreciated... so we can close this /O option...