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

Home » Public Forums » archive » Re: Using C++ DLM's With IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using C++ DLM's With IDL? [message #26059 is a reply to message #26051] Tue, 31 July 2001 07:41 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
K. Banerjee wrote:

> I need to call some outside code from IDL. I created a
> shared object file, using a C++ compiler (g++). When I call
> a function from the DLM from the IDL command prompt, I get
> the error:
>
> Symbol not found: cerr
>
> (There are other symbols not found.)
>
> Is it possible to use C++ shared objects for DLM's ?
> (I have to use some classes for my routine.)
>
> Thanks.
>
> K. Banerjee
>
>

You don't say what platform you are using, but I'll hazzard a guess that
it's Linux.

Did you use g++ to link the DLM? It's generally a wise thing to use the
same tool to create a shared object as you use to compile the source.

You could try linking the DLM with g++, or adding the the relevent c++
library to the link command - cerr is in one of the libraries called
/usr/lib/libstdc++..., the particular one depends on what version of g++
and libc you are using.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Discussion on global variables in IDL - reply to Martin and Pavel
Next Topic: Re: How to organize client-server IDL application?

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

Current Time: Sat Oct 11 20:42:30 PDT 2025

Total time taken to generate the page: 1.36134 seconds