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

Home » Public Forums » archive » Calling IDL from C
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: Calling IDL from C [message #45809 is a reply to message #45751] Fri, 14 October 2005 07:47 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
raval.chintan@gmail.com wrote:
...
> make IDLDIR=$IDL_DIR calltest
> gcc -I/usr/local/rsi/idl_6.2/external/include -o calltest
> /usr/local/rsi/idl_6.2/external/callable/calltest.c
> -L/usr/local/rsi/idl_6.2/bin/bin.linux.x86 -lidl -Wl,-rpath,.
> -Wl,-rpath
> /usr/local/rsi/idl_6.2/bin/bin.linux.x86 /usr/X11R6/lib/libXm.so.3 -lXp
> -L/usr/X11R6/lib -lXpm -lXext -lXt -lSM -lICE -lX11 -ldl -ltermcap -lrt
> -lm -lpthread
>
> The error issued is :
>
> /usr/bin/ld: cannot find -lXp

The "-lXp" option makes the linker look for a file named libXp.a or
libXp.so in the current list of library search directories. The
"-L/usr/X11R6/lib" option adds the /usr/X11R6/lib directory to the
current list of library search directories. Where is libXp.* on your
system? On my system libXp.so.6 and libXp.so.6.2 are in /usr/X11R6/lib.
If it's the same on your system, then you have to put the "-lXp" option
after the "-L/usr/X11R6/lib" option. Otherwise the linker isn't looking
for it in the right location.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calling IDL from C
Next Topic: Re: Wohnwagen Gasschlauch

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

Current Time: Thu Oct 09 21:21:55 PDT 2025

Total time taken to generate the page: 1.12269 seconds