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

Home » Public Forums » archive » WIDGET_STUB equivalent for Windows platforms ???
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
WIDGET_STUB equivalent for Windows platforms ??? [message #13077] Wed, 30 September 1998 00:00 Go to next message
Josh Stillerman is currently offline  Josh Stillerman
Messages: 3
Registered: October 1995
Junior Member
I have code written in C which needs to insert an event into the IDL
event loop. Under unix and VMS this is easily done using WIDGET_STUBs.
Anyone have a solution for NT/95? Even an unsupported/undocumented
one? I need to have an asynchronous event add something to the widget
event loop.

Thanks,
josh
Re: widget_stub [message #68396 is a reply to message #13077] Wed, 28 October 2009 08:32 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Oct 28, 12:38 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi guys,
>
> I'm interested in the widget_stub and now I'm just trying to execute
> the following example:http://idlastro.gsfc.nasa.gov/idl_html_help/UNIX_WID GET_STUB_Example_...
>
> Using this specified code:
> PUSHD, FILEPATH('', SUBDIRECTORY=['external','widstub'])
> WIDGET_ARROWB_TEST
> POPD
>
> I've the following error:
> % gcc  -fPIC -I"/usr/local/itt/idl70/external/include" -c -m32 -
> D_REENTRANT "/usr/local/itt/idl70/external/widstub/widget_arrowb.c" -o
> "widget_arrowb_25792_klystron.o"
> /usr/local/itt/idl70/external/widstub/widget_arrowb.c:19:27: error:
> X11/Intrinsic.h: No such file or directory
> (...)
> /usr/local/itt/idl70/external/widstub/widget_arrowb.c:92: error:
> expected ‘)’ before ‘arrowb_CB’
> % CALL_EXTERNAL: Error loading sharable executable.
>                  Symbol: widget_arrowb, File =/home/bernat/.idl/itt/
> compile_dir-118-idl_7_0-linux-x86-m32-f64/widget_arrowb.so
>                  /home/bernat/.idl/itt/compile_dir-118-idl_7_0-linux-
> x86-m32-64/widget_arrowb.so: cannot open shared object file: No such
> file or directory
> % Execution halted at: WIDGET_ARROWB      44
>   /usr/local/itt/idl70/external/widstub/widget_arrowb.pro
> %                      WIDGET_ARROWB_TEST   24
>   /usr/local/itt/idl70/external/widstub/widget_arrowb_test.pro
> %                      $MAIN$
>
> What with this program ? Can someone help me?
> Thanks,
> nata

Your compiler (gcc) cannot find the header file X11/Intrinsic.h. It
could be that it is not in a standard place in your system (in mine it
is at /usr/include/X11/Intrinsic.h), in which case you would need to
add the proper directory to the make_dll call in the function
widget_arrowb (an extra_cflag). But it could just be that you do not
have the file anywhere. In my case (Fedora), it comes in the libXt-
devel package.
Re: widget_stub [message #68397 is a reply to message #13077] Wed, 28 October 2009 08:27 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Ok, installing the following packages the example works well
libmotif-dev libxaw7-dev x11proto-print-dev

The example is very ugly :P

nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: widget_stub
Next Topic: Strange key event handling when too many events accumulate

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

Current Time: Sat Oct 11 08:08:14 PDT 2025

Total time taken to generate the page: 0.24142 seconds