Since the old info about this was lost, how about resposting the basics, ;)
I was relying on the forum to get my IO-Warrior up and running, but alas, the script kiddies made it slightly more difficult,...before I could make a copy,...
So to repeat the question, how do I build the library, and how do I build and install the Java support on osx 10.4, my aim is to use the IO-Warrior from Eclipse 3.2 and newer, any ideas, guidelines or pointers to the actual manuals will be appreciated.
Help,... if only there was a man page,...
OSX SDK up and running
Moderator: Guido Körber
Re: OSX SDK up and running
My own follow up and current status, maybe usefull to someone else:
I used the Apple reference documents:
http://developer.apple.com/java/jniuniversal.html
to recreate a jnilib called libiowkit.jnilib. It seamed the logical way, but I now may have bumped into one of the OSX universal binary problems, yup, it could be that the endianess of the i386 as opposed to ppc can badly trip one up.
my first try running the samples.jar result into:
...Cannot find dynamic library 'iowkit'!
Since I have the current directory in my classpath, I then copied libiowkit.jnilib into current working folder resulted into an indication that the jnilib can now be found but it still complain about:
The IowKit plattform-library was not found!
Error reported from the Java runtime:
java.lang.UnsatisfiedLinkError: version
Any ideas ?
I used the Apple reference documents:
http://developer.apple.com/java/jniuniversal.html
to recreate a jnilib called libiowkit.jnilib. It seamed the logical way, but I now may have bumped into one of the OSX universal binary problems, yup, it could be that the endianess of the i386 as opposed to ppc can badly trip one up.
my first try running the samples.jar result into:
...Cannot find dynamic library 'iowkit'!
Since I have the current directory in my classpath, I then copied libiowkit.jnilib into current working folder resulted into an indication that the jnilib can now be found but it still complain about:
The IowKit plattform-library was not found!
Error reported from the Java runtime:
java.lang.UnsatisfiedLinkError: version
Any ideas ?
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
partially done
I built this libiowkit.jnilib (the wrapper to Win/Linux interfaces is included!) as G4 binary. But there is a serious lack of functionality (see here, last post. unfortunately in German but Guido could help?): There is no read from special mode functions. Therefore only pin-I/O and the LCD special mode function should work.
Thomas
Thomas
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact: