You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Olivier, I'm trying to use JNAerator and I was able to generate some classes but some of them contains errors. I have the header files and *.so file and this is the script I'm running:
Parsing native headers...
/home/mycompany/Desktop/test/sdk/sfm/include/SfmexDeclarations.h:24:5: error: #error Unsupported platform, data types must be defined!
The lines below is where it is failing:
elif defined(SOLARIS) || defined(LINUX)
ifdef _LP64
typedef unsigned long SfmexU64;
typedef unsigned int SfmexU32;
About the generated java code, some classes look like this, which results in a compilation error:
/** Undefined type */
public static interface list<SfmexMMSUPTLV* > {
};
/** Undefined type */
public static interface list<SfmexMMSCPTLV* > {
Can you give me any hint about what's happening?
Thanks for you time.
Bruno
The text was updated successfully, but these errors were encountered:
Hi Olivier, I'm trying to use JNAerator and I was able to generate some classes but some of them contains errors. I have the header files and *.so file and this is the script I'm running:
export JNAERATOR_INCLUDE_PATH=.:/usr/include:/usr/local/include:/usr/include/linux/:/usr/lib/gcc/x86_64-linux-gnu/4.8/include/
java -jar jnaerator.jar -library GEN /home/mycompany/Desktop/test/sdk/sfm/include/*.h /home/mycompany/Desktop/test/sdk/sfm/library/linux/myApi.so -o . -v -noJar -noComp
the files are generated but I get some errors:
Parsing native headers...
/home/mycompany/Desktop/test/sdk/sfm/include/SfmexDeclarations.h:24:5: error: #error Unsupported platform, data types must be defined!
The lines below is where it is failing:
elif defined(SOLARIS) || defined(LINUX)
ifdef _LP64
typedef unsigned long SfmexU64;
typedef unsigned int SfmexU32;
About the generated java code, some classes look like this, which results in a compilation error:
Can you give me any hint about what's happening?
Thanks for you time.
Bruno
The text was updated successfully, but these errors were encountered: