M
Marcelo
Hi everybody,
I am getting a big compilation problem with this g++ command:
HelloWorld.cpp -o HelloWorld.dll
This gives me a compilation error like this
In file included from d:\\jdk1.5.0_05\\include\\jni.h:27,
from HelloWorld.cpp:1:
d:\\jdk1.5.0_05\\include\\win32\\jni_md.h:16: syntax error before `;'
In file included from HelloWorld.cpp:1:
d:\\jdk1.5.0_05\\include\\jni.h:108: syntax error before `;'
d:\\jdk1.5.0_05\\include\\jni.h:307: warning: `__stdcall__' attribute
ignored
d:\\jdk1.5.0_05\\include\\jni.h:308: `jlong' declared as function
returning a fu
nction
....etc...
The program is the HelloWorld.java explained in the Java Tutorial, the
compilator is g++ and the OS is Windows.
Do you have any idea about this problem?
thanks a lot,
Marcelo
I am getting a big compilation problem with this g++ command:
HelloWorld.cpp -o HelloWorld.dll
This gives me a compilation error like this
In file included from d:\\jdk1.5.0_05\\include\\jni.h:27,
from HelloWorld.cpp:1:
d:\\jdk1.5.0_05\\include\\win32\\jni_md.h:16: syntax error before `;'
In file included from HelloWorld.cpp:1:
d:\\jdk1.5.0_05\\include\\jni.h:108: syntax error before `;'
d:\\jdk1.5.0_05\\include\\jni.h:307: warning: `__stdcall__' attribute
ignored
d:\\jdk1.5.0_05\\include\\jni.h:308: `jlong' declared as function
returning a fu
nction
....etc...
The program is the HelloWorld.java explained in the Java Tutorial, the
compilator is g++ and the OS is Windows.
Do you have any idea about this problem?
thanks a lot,
Marcelo