X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 May 2007 03:48 AM by  anon
calling IDL from C++
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
04 May 2007 03:48 AM
    Hello, I want to call the IDL function from C++ code. Im trying to compile and run the example program calltest.c provided along with the IDL distribution, but i'm not able to compile the program. Here is the command i have entrered to compile : gcc -o calltest calltest.o -L$BINDIR -lidl -Wl,-rpath,. -Wl,-rpath $BINDIR -lXp -L/usr/X11R6/lib -lXpm -lXext -lXt -lSM -lICE -lX11 -ldl -ltermcap -lrt -lm -lpthread where IDLDIR is the directory where IDL is installed and BINDIR = $IDLDIR/bin/bin.linux.x86 and here is the error issued : /usr/bin/ld: calltest: hidden symbol `__fixunssfdi' in /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/libgcc.a(_fixunssfdi.oS) is referenced by DSO collect2: ld returned 1 exit status I would be very happy if someone can help me, because i don't what to do now for compiling and running the simple example code. Best regards
    You are not authorized to post a reply.