Article View: fj.sys.sun
Article #13291PEX on SPARC station ELC
From: michiharu shiiba
Date: Mon, 26 Oct 1992 03:12
Date: Mon, 26 Oct 1992 03:12
67 lines
2986 bytes
2986 bytes
$@DGMU=<@2!w5~Bg9)(J.$@EZLZ65<<$H$$$$$^$9!#(J
SPARC station IPX $@$G$OF0$$$F(J$@$$$?(J phigs $@$N%W%m%0%i%`$,(J SPARC station ELC $@$N(J
$@>e$GF0$-$^$;$s!#(JX11R5 $@$N>e$G!"ImB0$7$F$$$?(J PEX $@$rMQ$$$F(J$@$$$^$9!#(J
$@%W%m%0%i%`$O!"(JTom Gaskins $@$N(J "PHIGS Programming Manual" (O'Reilly and
Associates, Inc.) $@$N(J 18 $@%Z!<%8$K5-:\$5$l$F$$$k$D$.$N$h$&$JC;$$$b$N$G$9!#(J
#include <phigs/phigs.h>
#define WORKSTATION_ID (Pint) 1
#define STRUCTURE_ID (Pint) 1
main()
{
Ppoint_list3 point_list;
static Ppoint3 points[]={{.2,.2,0},{.4,.7,0},{.6,.3,0},{.8,.8,0}};
point_list.num_points = 4;
point_list.points = points;
popen_phigs( PDEF_ERR_FILE, PDEF_MEM_SIZE );
popen_struct( STRUCTURE_ID );
pset_linetype( PLINE_DASH );
ppolyline3( &point_list );
pclose_struct();
popen_ws( WORKSTATION_ID, NULL, phigs_ws_type_x_tool );
ppost_struct( WORKSTATION_ID, STRUCTURE_ID, (Pfloat) 1.0 );
pupd_ws( WORKSTATION_ID, PFLAG_PERFORM );
sleep( 10 );
pclose_ws( WORKSTATION_ID );
pclose_phigs();
}
$@$3$l$r<!$N$h$&$K$7$F%3%s%Q%$%k$7$^$9!#(J
gcc first.c -I/usr/X11R5/include -L/usr/X11R5/lib -lphigs -lX11 -lm
$@%3%s%Q%$%k$N$H$-$K$O$J$K$b%(%i!<%a%C%;!<%8$OI=<($5$l$^$;$s!#(J
$@$=$N$"$H!"$G$-$?(J a.out $@$r<B9T(J$@$9$k$H!"(J
PHIGS workstation $@$OI=<($5$l$k$N$G$9$,!"$D$.$N$h$&$J%a%C%;!<%8$r=P$7$F(J
$@=*$j$^$9!#(J
PHIGS error -168 in OPEN WORKSTATION: Ignoring function, cannot open
workstation on a read-only visual with no predefined colormap properties
PHIGS error 3 in POST STRUCTURE: Ignoring function, function requires state
(PHOP,WSOP,*,*)
PHIGS error 3 in UPDATE WORKSTATION: Ignoring function, function requires state
(PHOP,WSOP,*,*)
PHIGS error 3 in CLOSE WORKSTATION: Ignoring function, function requires state
(PHOP,WSOP,*,*)
$@$3$N860x$O$I$3$K$"$k$N$G$7$g$&$+!#(JELC $@$G$O!"(J phigs_ws_type_x_tool $@$r;XDj$9$k(J
$@$3$H$O$G$-(J$@$J$$$N$G$7$g$&$+!#(J
phigs $@$O;H$$;O$a$?$P$+$j$G!"$[$H$s$I$J$K$bCN$j$^$;$s!#$h$m$7$/8f65<x$/$@$5$$!#(J
--
--
Michiharu SHIIBA @ Civil Eng., KYOTO UNIV.
E-mail a52280@sakura.kudpc.kyoto-u.ac.jp
tel 075-753-5095 fax 075-761-0646
Technical Details
Message-ID:
<A52280.92Oct26121235@sakura.sakura.kudpc.kyoto-u.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!sh.wide!wnoc-kyo!kuis!kudpc!sakura.kudpc.kyoto-u.ac.jp!a52280Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fcfb5,4e41a2d04311005f,start X-Google-Attributes: gidfcfb5,public X-Google-ArrivalTime: 1992-10-25 11:28:00 PST Newsgroups: fj.sys.sun Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!sh.wide!wnoc-kyo!kuis!kudpc!sakura.kudpc.kyoto-u.ac.jp!a52280 From: a52280@sakura.kudpc.kyoto-u.ac.jp (michiharu shiiba) Subject: PEX on SPARC station ELC Message-ID: <A52280.92Oct26121235@sakura.sakura.kudpc.kyoto-u.ac.jp> Sender: news@kudpc.kyoto-u.ac.jp Nntp-Posting-Host: sakura.kudpc.kyoto-u.ac.jp Organization: Data Processing Center, Kyoto University, Kyoto, JAPAN Distribution: fj Date: Mon, 26 Oct 1992 03:12:35 GMT Lines: 67