Hi Michael, The current Linux build does not work on OSX without some modification. You will need to specify include directories to pick jni.h up from the include directories in your Java SDK. See the forum topic on "Building lejos_nxj 0.3 under Linux" for more information (it applies to 0.4 as well). You can fix the jni.h problem by copying it to the libnxt directory from the SDK include directory if other fixes do not work.
If you get libnxt to build, you will probably have problems with jbluez as it has been reported that compatible BlueZ libaries for OSX do not exist. Some people have reported successfully building on OS X, but when we have requested details, they have gone quiet. There is a current request on the NXJ Software forum asking for MAC OS X developers to provide us with build instructions and binaries - see "MAC OS X User Needed". Lawrie ----- Original Message ----- From: "Michael Wiedau" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, November 25, 2007 1:06 PM Subject: [Lejos-discussion] Problem running ANT on MacOS > Hi, > > I'm using MacOS and I'm trying to get it compiled for Darwin. > I installed libusb and rebooted. > Now I'm trying to run ant in the build directory. > I'm getting an error-message, that I don't understand. Maybe anyone > knows what I did wrong: > > jlibnxt: > [cc] 1 total files to be compiled. > [cc] In file included from > /Applications/Entwicklung/lejos_nxj/src/libnxt/main_jlibnxt.c:29: > [cc] /Applications/Entwicklung/lejos_nxj/src/libnxt/jlibnxt.h:2:17: > error: jni.h: No such file or directory > > Thanks for your help! > > Michael > > > -- > www.michael.wiedau.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Lejos-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lejos-discussion > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.6/1150 - Release Date: > 24/11/2007 17:58 > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Lejos-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lejos-discussion
