yikes…if at all possible, take your code warrior disks, burn them and
pretend youve never heard of it.
That is not productive.
I don’t have Codewarrior 7 available, but it looks like SDL_main needs to
linked with the C runtime library. Look for something in the “MSL”
subdirectories that it can link with.
np. i’m not sure off the top of my head all of the things i needed to change
(don’t have sdl here at home to check). but i know you need to include both
msl_all_d and msl_all in the compile…doesn’t make sense, but you do. also,
if you want, when i return to work on monday, i can email you the CW7
project files i am using.
–Keith> I just installed CW7 on Windows XP and I’m having problems creating SDL
projects. I get these errors:
Link Error : Undefined symbol: __imp__exit in
SDLmain.lib (.\Release\SDL_main.obj)
Link Error : Undefined symbol: __imp__strncpy in
SDLmain.lib (.\Release\SDL_main.obj)
…
Link Error : Undefined symbol: __imp__fclose in
SDLmain.lib (.\Release\SDL_main.obj)
I’ve read previous emails from people having similar problems but I
couldn’t find what to do exactly…any idea?
Thanks & sorry for posting repeated questions,
Mahmoud Al Gammal
MSL_ALL & MS_ALL_D were already added to the project. I added MS_ALL-
DLL_X86 & its _D version and managed to minimize the errors from 9 to
just two:
Link Error : Undefined symbol: __imp__exit in
SDLmain.lib (.\Release\SDL_main.obj)
Link Error : Undefined symbol: __imp___iob in
SDLmain.lib (.\Release\SDL_main.obj)
I’ll keep trying anyway, and I’ll be grateful if you send me a project
that compiles.
Thanks,
Mahmoud
P.S.: To Ryan, I added all types of MSL_C_XXX libraries, but nothing
helped>np. i’m not sure off the top of my head all of the things i needed to change
(don’t have sdl here at home to check). but i know you need to include both
msl_all_d and msl_all in the compile…doesn’t make sense, but you do. also,
if you want, when i return to work on monday, i can email you the CW7
project files i am using.
–Keith
I just installed CW7 on Windows XP and I’m having problems creating SDL
projects. I get these errors:
Link Error : Undefined symbol: __imp__exit in
SDLmain.lib (.\Release\SDL_main.obj)
Link Error : Undefined symbol: __imp__strncpy in
SDLmain.lib (.\Release\SDL_main.obj)
…
Link Error : Undefined symbol: __imp__fclose in
SDLmain.lib (.\Release\SDL_main.obj)
I’ve read previous emails from people having similar problems but I
couldn’t find what to do exactly…any idea?
Thanks & sorry for posting repeated questions,
Mahmoud Al Gammal