[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

finding dependent libraries/pgplot



I think I can draw what I need with pgplot, but I'm having trouble 
compiling.

I know that I need to use the -lpgplot option (i'm using absoft f90), 
but it has unsatisfied dependencies from who-knows which libraries.

So the very simple program

! program to make exampble bubbles for dynamic programming

program bubbles1

   implicit none

   integer,external::  pgopen

   external pgclos

   if (pgopen('bubbles1.ps/PS') < 0) stop

   call pgclos
end program bubbles1

yields 

smithttyp0:graphics>f90 bubbles1.f90 
bubbles1.o: In function `main':
bubbles1.o(.text+0x82): undefined reference to `PGOPEN'
bubbles1.o(.text+0xe5): undefined reference to `PGCLOS'


as to be expected.

But adding -lpgplot not only doesn't get rid of these, but adds 
dependencies for pgplot, including (but not just) tk8.0

I seem to be missing something here; I have no such problems with the 
imsl libraries, for which -limsl does it

rick

-- 



Reply to: