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.
When I compile the makefile it complains with the following:
Any ideas? Did I miss an installation procedure for Developer Tools or something?
Cheers,
ScKaSx
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.
Code:
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?
Cheers,
ScKaSx