Hello, I do WinXP SP3, and I've just started trying the VC++ 2005 Express compiler (in CodeBlocks of cours) to compile some of my sdl programs. I've looked around online including here, but have been unsuccessful in dealing with the following linker error somehow:
sdlmain.lib(SDL_win32_main.obj)||error LNK2019: unresolved external symbol __imp__fprintf referenced in function _ShowError|
there are 8 other ones including fgetc and fopen. Here are the other facts:
In compiler settings: checked "Multi-threaded dll debug runtime library"
In compiler settings -> Linker Settings ->
kernel32.lib
user32.lib
gdi32.lib
(also were some others which i took out to see what would happen and the error is the same)
In compiler settings -> Linker Settings -> Other Settings:
/NODEFAULTLIB:msvcrt
/SUBSYSTEM:CONSOLE
In compiler settings -> Search Directories I have the compiler, linker and resource directories copied with copy/paste, verbatim, to the
c:\...vc\include, \lib
and c:\...platform sdk\include, \lib also.
for some reason, I'm at a loss...so thanks in advance for any and all replies! -B