How can I build ogre4j in linux ? I've checked out the code from https://ogre4j.svn.sourceforge.net/svnroot/ogre4j/trunk but the only build script which i've found is in org.ogre4j/build.xml but it doesn't do anything.
There is an article in the wiki about that: https://sourceforge.net/apps/mediawiki/ogre4j/index.php?title=Installation
Thanks, that wiki is carefully concealed :) There is no link from the ogre4j.sf.net site to the installation instructions.
I'm using eclipse to build ogre4j under linux right click the build.xml -> Run As .. -> External tools configuration…
in the target tab choose your target for example if you want to build the libogre4j.so check ogre4j.build.c
in the jre of course you should mention a JDK not a JRE
and in the Environment tab you should add the ANT\_HOME, OGRE\_HOME and OGRE\_MEMORY\_ALLOCATOR
for example :
OGRE\_MEMORY\_ALLOCATOR 2 // if you will use the ned allocator starting from ogre 1.6.2
OGRE\_HOME /opt/ogre
under /opt/ogre you should have lib directory and include directory
at the end just click on Run
Hope that will help you
Log in to post a comment.
How can I build ogre4j in linux ? I've checked out the code from https://ogre4j.svn.sourceforge.net/svnroot/ogre4j/trunk but the only build script which i've found is in org.ogre4j/build.xml but it doesn't do anything.
There is an article in the wiki about that:
https://sourceforge.net/apps/mediawiki/ogre4j/index.php?title=Installation
Thanks, that wiki is carefully concealed :) There is no link from the ogre4j.sf.net site to the installation instructions.
I'm using eclipse to build ogre4j under linux
right click the build.xml -> Run As .. -> External tools configuration…
in the target tab choose your target for example if you want to build the libogre4j.so check ogre4j.build.c
in the jre of course you should mention a JDK not a JRE
and in the Environment tab you should add the ANT\_HOME, OGRE\_HOME and OGRE\_MEMORY\_ALLOCATOR
for example :
OGRE\_MEMORY\_ALLOCATOR 2 // if you will use the ned allocator starting from ogre 1.6.2
OGRE\_HOME /opt/ogre
under /opt/ogre you should have lib directory and include directory
at the end just click on Run
Hope that will help you