[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] Linker error: undefined reference to 'PG_Rect::PG_Rect()
From: |
Tobi Karlsberg |
Subject: |
[paragui-users] Linker error: undefined reference to 'PG_Rect::PG_Rect()' |
Date: |
Thu, 26 Jun 2003 12:27:08 +0000 |
Hi,
i have a problem with paragui:
I am using MinGW and Windows98.
I want to link it but i get this error: undefined reference to
'PG_Rect::PG_Rect()'.
This is my makefile (may help):
---------------------------------
lib := C:/MinGW/lib/
inc := C:/MinGW/include/
cc := gcc
exe := exename
objects := $(patsubst %.cpp,%.o,$(wildcard *.cpp))
build : $(objects)
$(cc) -o $(exe) $(objects) -L $(lib) -lstdc++ -lmingw32 -lparagui
-lSDLmain -lSDL -mwindows -lSDL_Image -lfreetype -Wall
%.o: %.cpp %.h
$(cc) -c $*.cpp -I $(inc)
all :
${MAKE} build
.PHONY : clean
clean :
-del *.exe $(objects)
---------------------------------
Please help me, i am angry about this error because PARAGUI is really good
and the best portable GUI I've ever seen.
Thanks!
Tom
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
- [paragui-users] Linker error: undefined reference to 'PG_Rect::PG_Rect()',
Tobi Karlsberg <=