bjornblissing / osg-3rdparty-cmake

CMake scripts for building OpenSceneGraph third party libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to open project in VS2015

huy-lv opened this issue · comments

Sorry for my dump question, where is the .sln file after i build project with CMake. I just saw some files as following photo. And how to open it in VS2015?
image

Hi @huylv177 ,

When running the CMake GUI you specify where you have the source code and where you want to build your binaries. When you press the Generate button the Visual Studio Solution file will be generated inside the Where to build the binaries directory.

So in the below example the solution file will be in the folder: D:/CODE/build/osg-3rdparty
cmake

Thank you, i did it, after "generate" i got this
image
So how can i run this project @@ i'm newbie on visual studio, could you tell me how to run an example to view the OSG object, pls?

@huylv177 This project does not contain OpenSceneGraph it self. It is only the libraries upon which OpenSceneGraph depends, for example libtiff for reading .tif files and freetype for text generation. So the result from the compilation of this project is no executable, instead you get compiled libraries .lib and .dll files as well as header files.

To use the OpenSceneGraph project you need to download the OpenSceneGraph source:
https://github.com/openscenegraph/OpenSceneGraph

When you compile it you can use the libraries generated with this project as input.