Archived

This topic is now archived and is closed to further replies.

dosgrave2000

SGE library for SDL

Recommended Posts

dosgrave2000    122
How do I put this thing to work with Dev-C++? Everytime I try to compile a program, I get the following errors. Does anyone here knows how to correct this? c:\meus documentos\sge_demo_1.o(.text+0x110):sge_demo_1.cpp: undefined reference to `sge_AACircle(SDL_Surface *, short, short, short, unsigned char, unsigned char, unsigned char)' c:\meus documentos\sge_demo_1.o(.text+0x137):sge_demo_1.cpp: undefined reference to `sge_AAFilledCircle(SDL_Surface *, short, short, short, unsigned char, unsigned char, unsigned char)' c:\meus documentos\sge_demo_1.o(.data$_vt$14sge_TextSprite$10sge_sprite+0x1c):sge_demo_1.cpp: undefined reference to `sge_surface::UpdateRects(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$14sge_TextSprite$10sge_sprite+0x24):sge_demo_1.cpp: undefined reference to `sge_surface::clear(unsigned int)' . . . c:\meus documentos\sge_demo_1.o(.data$_vt$10sge_sprite+0x2c):sge_demo_1.cpp: undefined reference to `sge_surface::clear(SDL_Surface *, short, short)' c:\meus documentos\sge_demo_1.o(.data$_vt$10sge_sprite+0x34):sge_demo_1.cpp: undefined reference to `sge_sprite::check_border(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0xc):sge_demo_1.cpp: undefined reference to `sge_ssprite::~sge_ssprite(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x14):sge_demo_1.cpp: undefined reference to `sge_surface::draw(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x1c):sge_demo_1.cpp: undefined reference to `sge_surface::UpdateRects(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x24):sge_demo_1.cpp: undefined reference to `sge_surface::clear(unsigned int)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x2c):sge_demo_1.cpp: undefined reference to `sge_surface::clear(SDL_Surface *, short, short)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x34):sge_demo_1.cpp: undefined reference to `sge_ssprite::check_border(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_ssprite+0x4c):sge_demo_1.cpp: undefined reference to `sge_ssprite::update(void)' c:\meus documentos\sge_demo_1.o(.data$_vt$11sge_surface+0xc):sge_demo_1.cpp: undefined reference to `sge_surface::~sge_surface(void)' . . . C:\DEV-C_~1\LIB\\libSDLmain.a(SDL_main.o): In function `console_main': /home/hercules/SDL-dist/SDL-1.2.2/src/main/SDL_main.c:214: undefined reference to `SDL_main' thanks for any help DoSGRaVe 2000© Edited by - dosgrave2000 on January 9, 2002 1:18:20 PM

Share this post


Link to post
Share on other sites