What do you think birdsey? Bad news? I think it's the LUA that caused it. (From the very beginning LUA has caused trouble to the development of Egoboo Razz)
In reality it cannot be this unless you are linking to the .dll for the release version or something. Go into the lua directory and delete or move the .lib and .dll files and delete any lua .dll files files from your egoboo dir and see if it runs?
Also, did you remove the linking to SDL_console? Even though no functions are being used, just linking to the library might cause the initialization to fail.
lua uses NO external .dlls so the problem that we are experiencing can't be related to ego_wrap.c or lua_console.c
here is the complete (and huge) list of .dlls that are loaded on running my debug version
Code: Select all
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\shfolder.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\SDL_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msvcr71d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\SDL_ttf_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\SDL_mixer_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\SDL_image_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\libpng_asm_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\zlib_asm_d.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\Projects\Ego\zefz-sourceforge\branches\2.6.x\libtiff.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', Symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\shell32.dll'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\SynTPFcs.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\kbdus.dll', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\kbdus.dll'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\kbdus.dll', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\kbdus.dll'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\atioglxx.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\dinput.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\hid.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\dsound.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv', No symbols loaded.
'Egoboo2x.exe': Unloaded 'C:\WINDOWS\system32\wdmaud.drv'
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\midimap.dll', No symbols loaded.
'Egoboo2x.exe': Loaded 'C:\WINDOWS\system32\ksuser.dll', No symbols loaded.
Hard to believe that there are that many!
Anyway, can you check the output window when you run your Release and Debug versions in debug mode (so that you can get this output)?