[英]Using OpenSceneGraph with Code::Blocks
I have to integrate osg into my project on code blocks. 我必须在代码块上将osg集成到我的项目中。 In osg web site, there is only one unanswered post.
在osg网站上,只有一篇未答复的帖子。
Has anyone used osg and codeblocks together? 是否有人一起使用过osg和代码块?
I assume you're developing on windows from your tags. 我假设您正在使用标签在Windows上进行开发。
Ok. 好。 If you havent set up OSG already, checkout this blog for instructions on compiling with MingW/MSYS.
如果您尚未设置OSG,请查看此博客以获取有关使用MingW / MSYS进行编译的说明。
The OSG wiki considers the article to be more up to date (as at May-26-13') than its wiki entry. OSG Wiki认为该文章比其Wiki条目更具最新性 (截至13年5月26日)。
There's also binaries at the bottom to save you time. 底部还有二进制文件,以节省您的时间。
Next, fire up C::B and create a new C++ console application. 接下来,启动C :: B并创建一个新的C ++控制台应用程序。 Follow the wizard thru to the end.
按照向导进行操作,直至结束。 Select MingW/GCC as your compiler.
选择MingW / GCC作为编译器。
\n-losg-losg \n-losgGA
-losgGA \n-losgDB
-losgDB \n-losgViewer
-losgViewer\n-losgText
-losgText \n-losgUtil
-losgUtil \n-lOpenThreads
-lOpenThreads\n
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.