I have got a project that is using jni to connect java wrapper and C code. It was developed by somebody else. I compiled the c code as a dynamic library in netbeans using mingw on windows and it works fine. Now I am trying to do the same in ubuntu. But when I open a header files in netbeans it underlines the following:
typedef PVOID FT_HANDLE;
typedef ULONG FT_STATUS;
and it says Unable to resolve identifier PVOID and the same for ULONG
Also getting several other errors “unable to resolve identifier”.
When I build the proejct I get the following erros:
http://pastebin.com/hPrTJwxF
I am new to C. I have always programmed in Java. Any hints on that?
They are not standard C types, but it should ve trivial to #define your own replacements on Linux. See also Visual C++ can't find "Windows types" like PVOID, DWORD, ULONG, etc
I would expect the following to work, but I have no means to test.