NeWS <-> C interface
Dan Christensen
jdchrist at watcgl.waterloo.edu
Tue Jul 11 13:38:37 AEST 1989
In article <PEL.89Jul10133354 at unhd.UUCP> pel at unhd.UUCP (Paul E. Leclerc) writes:
>
>We recently received a Personal Iris workstation and I am interested
>in getting NeWS and C hooked together to provide a nice
>user interface. I typed in one of the examples in the 4Sight User's
>Guide (pages N8-10/11) and after fixing the few typos (in the manual!!)
>I got it compiled. When I run it, ie a.out, nothing happens. Am
>I doing something wrong?
>
>On a related note... Does anybody have a WORKING version of
>a demo that interfaces C and NeWS (using CPS) that would have
>things like buttons,cycles,prompts, etc. I am trying to
>port/rehack Sunview code that we have written. All I really
>need is one tiny working example of each so that I can play
>with it a little.... (I cannot ftp for any goodies, sorry).
I was able to get this working. The trick was to put -lbsd at the end
of the compile line. I don't think that this is mentioned in the manual
but it seems to be necessary.
A problem I have been having is that I can't use -lgl and -lcps at
the same time -- I get several pages of error messages if I try.
I just called the hotline today so I may get an answer soon.
Hope this helps!
----
Dan Christensen, Computer Graphics Lab, jdchrist at watcgl.uwaterloo.ca
University of Waterloo, Waterloo, Ont. jdchrist at watcgl.waterloo.edu
More information about the Comp.sys.sgi
mailing list