comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Linking Libraries in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Linking Libraries in IDL [message #74303] Thu, 06 January 2011 13:35
PMan is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 8.0.1 crashes
Next Topic: Read large ascii file quickly

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:57:33 PDT 2025

Total time taken to generate the page: 0.00545 seconds