Menu

XBIG Fails on cant find jni.h on macos

Help
2009-05-24
2013-04-24
  • Tom Träskbäck

    Tom Träskbäck - 2009-05-24

    Hi i try to run the tests from your svn i get the several errors but the most i catching is that it cant find jni.h!
    i tried to set:
        <compiler id="gcc" name="gcc" if="use-gcc">
            <compilerarg value="-O -I $JAVA_HOME/include" unless="is-debug" />
        </compiler>

    butt that didn't change anything...

     
    • Christoph Nenning

      is JAVA_HOME set ?

      on my mac it points to
      /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/

      And I have to set in manually.

       
      • Tom Träskbäck

        Tom Träskbäck - 2009-05-25

        /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

        Is the path to java home..

         
    • Christoph Nenning

      so JAVA_HOME is set.

      Please post more details about what is going on.
      Which test case are you running?
      jni.h is needed to compile generated C++ code, did generated java code compile?
      which doxygen version are you using?

       
      • Tom Träskbäck

        Tom Träskbäck - 2009-05-25

        My bad i ran sudo ./run.sh witch resulted in the error.. sins it ran i different .profile file then

         

Log in to post a comment.