openscenegraph / OpenSceneGraph

OpenSceneGraph git repository
http://www.openscenegraph.org
Other
3.25k stars 1.42k forks source link

how to build the example program by cmake tools? #1280

Closed daxue2017 closed 11 months ago

daxue2017 commented 11 months ago

when i download the source-3.6.4, and use cmake tools config it , then use vs2017 comile it , but then fount the example program in the dir examples have not compile, so how to config it and the compile it ?

xarray commented 11 months ago

add -DBUILD_OSG_EXAMPLES=ON to commandline arguments, or check the option BUILD_OSG_EXAMPLES in cmake-gui