Dear all,
I'm beside myself with confusion...which is not all that unusual.
I'm trying to compile a JNI wrapper for a third party library. The source code for the JNI wrapper exists as does a build file but it's for linux. Additionally, the compiled binaries for the actual code exist for OS X.
However, I cannot even begin to figure out how to make this work on OS X. I have the following command:
echo compiling JNI wrapper
g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fpic -s -shared -o libjsmile.so ../*.cpp -I$JINC -I$JINC/linux -I../cppsmile -L../cppsmile -lsmilearn -lsmile
and I don't know how to translate it into OS X speak.
For the full code, the binaries and source are here:
and the source for the JNI wrapper is here:
I put the binaries into the cppsmile directory of the jsmile_src.
Any pointers would be helpful. I would suppose that most of the work has been done for me and I just need to figure out the incantation for g++ (ie, I don't need to put all of this stuff into an XCode JNI project). However, if that would be easier...that's great, too.
I would also love to contribute the solution back to this project.
Cheers,
Steve
_______________________________________________