JNI issue: symbol lookup error by FileHandle in C++ DLL
Posted
by
MohamedMansour
on Stack Overflow
See other posts from Stack Overflow
or by MohamedMansour
Published on 2012-07-03T12:09:06Z
Indexed on
2012/07/07
9:16 UTC
Read the original article
Hit count: 371
I made JNI functions and linked them with the c++ dynamic library successfully. I got all of them working just fine, but I had an issue for one function, I got symbol lookup error from the FileHandle class that I used in the c++ that I use to read data from file. Knowing that it's working on a normal c++ project, but not in the DLL.
/usr/lib/jvm/jdk1.7.0/bin/java: symbol lookup error: /home/.../NetBeansProjects/TRIOGUI/dist/libNativeAdd.so: undefined symbol: _ZN5Gdsii9GdsParserC1EPKcN7SoftJin10FileHandle8FileTypeEN5boost8functionIFvS2_ESaIvEEE Java Result: 127
Can anybody help me please? :)
© Stack Overflow or respective owner