Menu

building on linux

g zombi
2009-09-27
2013-04-25
  • g zombi

    g zombi - 2009-09-27

    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.

     
  • g zombi

    g zombi - 2009-09-29

    Thanks, that wiki is carefully concealed :) There is no link from the ogre4j.sf.net site to the installation instructions.

     
  • Ogre Linux

    Ogre Linux - 2009-10-07

    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.