Hello Everyone,
I have JNI problem pertaining to a C++ file compilation.
Let me start with what I have:
I have a
java program Timex.java that implements JNI:
I also have the header file Timex.h:
and I have the .cpp file time_clock.cpp:
I compiled the java program file, create the .h file fine, then I go to compile time_clock using the following commands:
g++ -fpic -I c:\j2sdk1.4.1_03\include
-I c:\j2sdk1.4.1_03\include\win32
time_clock.cpp
I get a long list of error messages not pertaining to time_clock.cpp but pertaining to the code in jni.h and jni_md.h. I've never tampered with these files. Could they have gotten messed up some how, could they be deprecated? I'm confused. Any help would be greatly appreciated.
Thanks,
Thomas