pel@unhd.UUCP (Paul E. Leclerc) (07/11/89)
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). Paul Leclerc -- =========================================================================== Paul Leclerc, Computer Specialist III |Bitnet: P_LECLERC@UNHH.BITNET University of NH |UUCP: ...uunet!unh!pel ===========================================================================
jdchrist@watcgl.waterloo.edu (Dan Christensen) (07/11/89)
In article <PEL.89Jul10133354@unhd.UUCP> pel@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@watcgl.uwaterloo.ca University of Waterloo, Waterloo, Ont. jdchrist@watcgl.waterloo.edu