From: Claudio Strizzolo <Claudio.Strizzolo@trieste.infn.it>
Subject: PGPLOT graphics library on DU
Date: 1999/01/12 [thread overview]
Message-ID: <369B0331.167E@trieste.infn.it> (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)
reply other threads:[~1999-01-12 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox