Message Boards

 Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jezebel

Pages: [1]

Technical Support / Code::Blocks Compilation Woes

« on: March 21, 2007, 18:48:22 »
Hey guys.

Here's the lowdown:  I run Windows XP with SP2.  I downloaded the 19th nightly build of Code::Blocks for this month.  I downloaded and installed MinGW and everything that is associated with it, according to the OdaWiki.  Extracted everything into C:\MinGW, including the "include" and "lib" folders for the SDL 1.2.11 and SDL_mixer 1.2.11 files.  I received the latest files from the SVN and put them in a directory.  The OdaWiki states to open Code::Blocks and rebuild the entire workspace, so that is what I did; I attempted to rebuild the workspace that was in the SVN.  Herein lies the problem:  it will compile quite a few files before giving me a warning that says

"Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized",

and three errors that say,

"1)C:\MinGW\lib\SDLmain.lib(./Release/SDL_win32_main.obj):C:\SDL-1.2.11\Src\:(.text[_main]+0x55): undefined reference to `_alloca_probe'

2)C:\MinGW\lib\SDLmain.lib(./Release/SDL_win32_main.obj):C:\SDL-1.2.11\Src\:(.text[_WinMain@16]+0x181): undefined reference to `_alloca_probe'

3)C:\MinGW\lib\SDLmain.lib(./Release/SDL_win32_main.obj):C:\SDL-1.2.11\Src\:(.text[_WinMain@16]+0x1c1): undefined reference to `_alloca_probe' ". 

I am confused as to what this means; I had thought that merely putting all of the necessary SDL files into the MinGW directory would have sufficed.  I googled "sdl codeblocks" and came to a page that said how to install SDL for use with Code::Blocks, so I followed those instructions to see if I could finally link everything.  No go; same warning and errors.

It would be totally tubular if I could get this project compiling so I could play around with it and maybe, hopefully, provide some patch fixes after I've looked into it.  If anyone has any idea what I might be doing wrong, or not doing at all, please shed some light on my situation [sad face]. 

Oh, here's a screen shot of what happened in case I confused anyone.  Thank you for any help in advance.  I'll try to catch someone in #odamex when I get the chance.
Pages: [1]