Home »
Public Forums »
archive »
Linking Libraries in IDL
Linking Libraries in IDL [message #74303] |
Thu, 06 January 2011 13:35 |
PMan
Messages: 61 Registered: January 2011
|
Member |
|
|
I have a java wrapped C++ library. I have a java main() test driver
that links to the java class and underlying c++ library just fine
(LD_LIBRARY_PATH and CLASSPATH set correctly).
However, I am looking to see if I can call the java wrapped c++
library from IDL. I can create the java object just fine (as far as I
can tell), but whenever I call the one of the underlying methods I get
Unsatisfied link error:
IDL> oJBridgeSession = obj_new('IDLJavaObject$IDLJAVABRIDGESESSION')
IDL> oJe = oJBridgeSession->GetException()
IDL> help, oJe
OJE OBJREF = <ObjHeapVar3(IDLJAVAOBJECT
$JAVA_LANG_UNSATISFIEDLINKERROR)>
It seems that the java wrapper class cannot link to the underlying c++
lib. This was run in the same environment as the java main(), and
should have the same environment variables set.
Anyone have a clue how to fix this?
Thanks.
|
|
|
Current Time: Wed Oct 08 13:59:34 PDT 2025
Total time taken to generate the page: 0.00512 seconds