Hi All,
I recently bought a new macbook pro and am trying to rerun code that worked
before on my older macbook pro. Note: Xcode and Fink installed.
CC = g++
XLIB = -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz
LIB_FLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib
CFLAGS = -Wall -I/Users/kakuda/Code/include
OBJS = gplot.o pushgraph.o
main: $(OBJS)
$(CC) $(CFLAGS) $(LIB_FLAGS) $(OBJS) $(XLIB) -o gplot
gplot.o: gplot.cc
$(CC) $(CFLAGS) -c gplot.cc
pushgraph.o: ~/Code/include/pushgraph.cc
$(CC) $(CFLAGS) -c $(HOME)/Code/include/pushgraph.cc
When I compile the makefile it complains with the following:
g++ -Wall -I/Users/Doe/Code/include -L/usr/local/lib -L/usr/X11R6/lib
-L/sw/lib gplot.o pushgraph.o -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext
-lX11 -lpng -lz -o gplot
ld: library not found for -lplot
collect2: ld returned 1 exit status
make: *** [main] Error 1
Any ideas? Did I miss an installation procedure for Developer Tools or
something?
I previously installed the 'plotutils' package so I believe libplot is
installed.
Cheers,
ScKaSx
--
View this message in context:
http://old.nabble.com/XLIB-problems-%22-lplot%22-not-found-tp28371645p28371645.html
Sent from the fink-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users