MinGW Packages |
by dan
on 06/27/2006 10:30, 4 messages, last message: 06/28/2006 19:09, 1361 views, last view: 05/04/2024 00:26 |
|
I'm trying to download the correct
packages from mingw site, so that
sauerbraten will compile.
So far I have:
MSYS-1.0.10.exe
w32api-3.6.tar.gz
mingw-runtime-3.9.tar.gz
binutils-2.15.91-20040904-1.tar.gz
gcc-core-3.4.2-20040916-1.tar.gz
gcc-g++-3.4.2-20040916-1.tar.gz
mingw32-make-3.80.0-3.tar.gz
Am I missing anything?
|
|
Board Index
|
|
#1: .. |
by eihrul
on 06/27/2006 17:26
|
|
You will need SDL, SDL_image, and SDL_mixer as well.
reply to this message
|
|
#2: Re: .. |
by dan
on 06/28/2006 03:35, refers to #1
|
|
All of the SDL includes & libs are
already in the sauerbraten directory.
When I compile with mingw I get this:
engine/main.cpp:251: warning: converting of negative value `-0x000000001' to `lo
ng unsigned int'
engine/main.cpp:252: error: `STACKFRAME' undeclared (first use this function)
engine/main.cpp:252: error: (Each undeclared identifier is reported only once fo
r each function it appears in.)
engine/main.cpp:252: error: expected `;' before "sf"
engine/main.cpp:253: error: `SymInitialize' undeclared (first use this function)
engine/main.cpp:255: error: `::StackWalk' has not been declared
engine/main.cpp:255: error: `sf' undeclared (first use this function)
engine/main.cpp:255: error: `::SymFunctionTableAccess' has not been declared
engine/main.cpp:255: error: `::SymGetModuleBase' has not been declared
engine/main.cpp:257: error: `IMAGEHLP_SYMBOL' does not name a type
engine/main.cpp:257: error: `IMAGEHLP_SYMBOL' undeclared (first use this functio
n)
engine/main.cpp:258: error: `IMAGEHLP_LINE' undeclared (first use this function)
engine/main.cpp:258: error: expected `;' before "li"
engine/main.cpp:260: error: 'struct stackdumper(unsigned int, EXCEPTION_POINTERS
*)::<anonymous>' has no member named 'sym'
engine/main.cpp:260: error: `SymGetSymFromAddr' undeclared (first use this funct
ion)
engine/main.cpp:260: error: `li' undeclared (first use this function)
engine/main.cpp:260: error: `SymGetLineFromAddr' undeclared (first use this func
tion)
engine/main.cpp:263: error: 'struct stackdumper(unsigned int, EXCEPTION_POINTERS
*)::<anonymous>' has no member named 'sym'
engine/main.cpp: In function `int SDL_main(int, char**)':
engine/main.cpp:278: error: `__try' undeclared (first use this function)
engine/main.cpp:278: error: expected `;' before '{' token
engine/main.cpp:497: error: `GetExceptionInformation' undeclared (first use this
function)
engine/main.cpp:497: error: `__except' undeclared (first use this function)
engine/main.cpp:497: error: expected `;' before '{' token
engine/main.cpp:499: warning: no return statement in function returning non-void
mingw32-make: *** [engine/main.o] Error 1
reply to this message
|
|
#3: Re: .. |
by Gilt__
on 06/28/2006 14:27, refers to #2
|
|
I suppose if I wasn't making debug builds I would have spotted that.
reply to this message
|
|
#4: Re: .. |
by dan
on 06/28/2006 19:09, refers to #3
|
|
Ah, the macro _DEBUG needs to be
defined (or undefined) to avoid
compiling the debug parts of main.cpp
with mingw.
Dexter says, "Successsssssss!"
reply to this message
|
|
|
Board Index
|
|