[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Another question
From: |
Michael Bartl |
Subject: |
Re: [paragui-users] Another question |
Date: |
Mon, 21 Apr 2003 10:14:05 +0200 |
User-agent: |
Mutt/1.5.4i |
On Sun, Apr 20, 2003 at 10:16:29PM -0400, Aaron O Schweiger wrote:
> Again with mingw32, gcc v3.2, compiling the test/ directory seems to be a
> bit difficult. The default makefile breaks for some reason:
>
> C:/usr/lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference to
> address@hidden'
> make: *** [fireworks.exe] Error 1
>
> However, I can cure the problem by manually linking:
>
> g++ -g -O2 -Wall -o fireworks.exe blob.o main.o -mwindows -lparagui
> `SDL-config --libs` -lSDL_image -lfreetype -lz -lstdc++ -lphysfs.dll
>
> Does something besides SDL define WinMain? Any help, thanks,
As far as I remember SDL_main is defining WinMain!
btw: If you want to easily cross-compile you should use mingw32 cross
compiler on linux, not the native win32 port... solved all my problems
:)
Have fun,
Michael
- [paragui-users] Another question, Aaron O Schweiger, 2003/04/20
- Re: [paragui-users] Another question,
Michael Bartl <=
- Re: [paragui-users] Another question, Fabien Marchewka, 2003/04/21
- Re: [paragui-users] Another question, Michael Bartl, 2003/04/21
- Re: [paragui-users] Another question, Fabien Marchewka, 2003/04/21
- Re: [paragui-users] Another question, Michael Bartl, 2003/04/21
- Re: [paragui-users] Another question, Fabien Marchewka, 2003/04/21
- Re: [paragui-users] Another question, Michael Bartl, 2003/04/21
- Re: [paragui-users] Another question, Fabien Marchewka, 2003/04/21
- Re: [paragui-users] Another question, Fabien Marchewka, 2003/04/21
- Re: [paragui-users] Another question, Michael Bartl, 2003/04/21