* PGPLOT graphics library on DU
@ 1999-01-12 5:00 Claudio Strizzolo
0 siblings, 0 replies; only message in thread
From: Claudio Strizzolo @ 1999-01-12 5:00 UTC (permalink / raw)
Hello,
is there any user of PGPLOT graphics library, who can help
me to compile and link a C program which invokes PGPLOT routines
on Digital Unix (4.0a, if that matters)?
I tried these things (see Appendix C of the documentation), but they
all failed:
# cc -I/usr/local+/pgplot -L/usr/local+/pgplot -lcpgplot -lpgplot
-o ctest ctest.c
(it says:
Unresolved:
cpgbeg
cpgend
cpgenv
cpglab
cpgline
cpgpt
even if the cpgplot library is currently reached and it contains the
items).
# cc -c -I/usr/local+/pgplot ctest.c (tried also with gcc)
# f77 -o ctest ctest.o -L/usr/local+/pgplot -lcpgplot -lpgplot -lX11
-lgcc -lm
(it complains about a lot of stuff missing, in particular something
called MAIN, all uppercase).
# cc -c -I/usr/local+/pgplot ctest.c
# cc -o ctest ctest.o -L/usr/local+/pgplot -lcpgplot -lpgplot -lX11
(complains about a lot of stuff missing)
Compiling and linking from F77 work correctly.
Any hints?
Thanks in advance
Claudio (Claudio.Strizzolo@ts.infn.it)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-01-12 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-12 5:00 PGPLOT graphics library on DU Claudio Strizzolo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox