Topic: How to liink PGPLOT
Hi Jeff,
I used the package manager to install PGPLOT which seemed to go without a hitch and my makefiles show the PGPLOT paths but....
when I attempt to build and link my program, all the calls to PGPLOT are unresolved. Is there something else that I should be doing? This is my first attempt using a package installed with the package manager. My makefile is below.
Regards,
Pete
#
# Automagically generated by Approximatrix Simply Fortran 3.31
#
FC="C:\Program Files (x86)\Simply Fortran 3\mingw-w64\bin\gfortran.exe"
CC="C:\Program Files (x86)\Simply Fortran 3\mingw-w64\bin\gcc.exe"
AR="C:\Program Files (x86)\Simply Fortran 3\mingw-w64\bin\ar.exe"
WRC="C:\Program Files (x86)\Simply Fortran 3\mingw-w64\bin\windres.exe"
PRJTK="C:\Program Files (x86)\Simply Fortran 3\fwin\sfprjtk.exe"
RM=rm -f
IDIR=-IC:/Users/peter/AppData/Local/sfpm/64/include
LDIR=-LC:/Users/peter/AppData/Local/sfpm/64/lib
OPTFLAGS= -O3 -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -mtune=ivybridge
SPECIALFLAGS=-fmax-errors=30
RCFLAGS=-O coff --use-temp-file
PRJ_FFLAGS=
PRJ_CFLAGS=
PRJ_LFLAGS=
FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(IDIR) $(PRJ_FFLAGS) -Jd:/fortranwork/Delme/modules
CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(IDIR) $(PRJ_CFLAGS)
"build\testplot.o": ".\testplot.f90"
@echo Compiling .\testplot.f90
@$(FC) -c -o "build\testplot.o" $(FFLAGS) ".\testplot.f90"
clean: .SYMBOLIC
@echo Deleting build\testplot.o and related files
@$(RM) "build\testplot.o"
@echo Deleting target.exe
@$(RM) "target.exe"
"target.exe": "build\testplot.o"
@echo Generating target.exe
@$(FC) -o "target.exe" $(SPECIALFLAGS) -static "build\testplot.o" $(LDIR) $(PRJ_LFLAGS)
all: "target.exe" .SYMBOLIC