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
Calling IDL from C [message #45810] Fri, 14 October 2005 02:58
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
Dear All,

I want to call the IDL function from the C. I am using RedHat Linux 9.0
and IDL 6.2. I was trying to run the example program Calltest.c
provided along with the IDL distribution CD, but was not able to run
the program. The details of the error and the command to compile the
Calltest.c on linux are given below.


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
collect2: ld returned 1 exit status
make: *** [calltest] Error 1

I would be grateful if some one can point out where am i going wrong
and point me in the right direction for compiling and running the
example code.

With regards
Chintan Raval
[Message index]
 
Read Message
Previous Topic: newbie: sub-array extraction
Next Topic: Re: List of Points --> ROI via IDLVECTOR data type for iimage itool

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

Current Time: Fri Oct 10 07:42:07 PDT 2025

Total time taken to generate the page: 0.55876 seconds