linux下如何编译ogre4j
我已经下载了源代码并导入到 eclipse 中。但是当我尝试运行它时,它打印出找不到 ogre4j 的错误。我查看了应该是库二进制文件的文件夹,但什么也没有。我尝试自己编译它,而不是使用 eclipse 自动编译,但我没有找到任何 makefile。
ogre4k编译需要什么插件吗?
在哪里可以找到 ogre4j 的 makefile?
I've download sources and imported then into eclipse. But when i try to run it, it prints error that ogre4j isn't found. I've looked into folder where should be library binaries, but there was nothing. I tried to compile it on my own, not automatic with eclipse, but i haven't found any makefile.
Is there any plugin required for ogre4k compiling?
Where can i find any makefile for ogre4j?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据项目 安装 Wiki 页面,有一个 ant
build.xml提供了
,并且ogre4j.build.jar
是您感兴趣的目标。因此,在项目目录中运行
ant ogre4j.build.jar
应该会构建所有内容需要(前提是您已安装 ant)。在 Eclipse 中右键单击
build.xml
并选择“Run As”-> “Ant Build ...”应该允许您选择目标并运行它。According to the projects Installation Wiki page there is an ant
build.xml
provided andogre4j.build.jar
is the target you're interested in.So running
ant ogre4j.build.jar
in the project directory should build everything that's needed (provided you've got ant installed).In Eclipse right-clicking the
build.xml
and choosing "Run As" -> "Ant Build ..." should allow you to select the target and run it.根据 Joachims 的回复,我使用了 ant。但有两个步骤,我已经做到了。
在项目目录中:
并修改 build.xml,添加这些行:
最后运行:
According to the Joachims reply i've used ant. But there was two steps, which i've did.
In projects directory:
And modify build.xml, add these lines:
And finally run: