Reputation: 247
I have to integrate osg into my project on code blocks. In osg web site, there is only one unanswered post.
Has anyone used osg and codeblocks together?
Upvotes: 1
Views: 929
Reputation: 3732
I assume you're developing on windows from your tags.
Ok. If you havent set up OSG already, checkout this blog for instructions on compiling with MingW/MSYS.
The OSG wiki considers the article to be more up to date (as at May-26-13') than its wiki entry.
There's also binaries at the bottom to save you time.
Next, fire up C::B and create a new C++ console application. Follow the wizard thru to the end. Select MingW/GCC as your compiler.
-losg -losgGA -losgDB -losgViewer -losgText -losgUtil -lOpenThreads
Upvotes: 1