Re: [Dev-C++] FLTK 2.0 problems -- Anybody?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Maya <Esc...@ne...> - 2004-01-13 19:35:22
|
Here is my Makefile.win, it seems OK to me.
-============ Makefile.win ==========
# Project: Project1
# Makefile created by Dev-C++ 4.9.8.5
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = Project1_private.res
OBJ = main.o $(RES)
LINKOBJ = main.o $(RES)
LIBS = -L"C:/DEV-CPP/lib" -mwindows -lfltk -lwsock32 -lkernel32
-luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -luuid
INCS = -I"C:/DEV-CPP/include"
CXXINCS = -I"C:/DEV-CPP/include/c++"
-I"C:/DEV-CPP/include/c++/mingw32" -I"C:/DEV-CPP/include/c++/backward"
-I"C:/DEV-CPP/include"
BIN = Project1.exe
CXXFLAGS = $(CXXINCS)-DWIN32 -D_WIN32
CFLAGS = $(INCS)-DWIN32 -D_WIN32
.PHONY: all all-before all-after clean clean-custom
all: all-before Project1.exe all-after
clean: clean-custom
rm -f $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Project1.exe" $(LIBS)
main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
Project1_private.res: Project1_private.rc
$(WINDRES) -i Project1_private.rc -I rc -o Project1_private.res -O coff
mol...@se... wrote:
> Maya wrote:
>
>> C:/DEV-CPP/lib/libfltk.a(fl_color.o)(.text+0x4ec):fl_color.cxx:
>> undefined reference to `SetDCPenColor@8'
>> C:/DEV-CPP/lib/libfltk.a(fl_color.o)(.text+0x526):fl_color.cxx:
>> undefined reference to `SetDCBrushColor@8'
>
>
> these two functions are from libgdi32.a, so what about -lgdi32 ?
>
--
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|