Hi List!
I’ve encountered a for me big problem. Using VC++6/win2k I had no problems
compiling sdl.lib and sdlmain.lib
but when I started coding stuff, just to test araound a little bit, I got a
lot of linker errors:
at first: I had to exclude libcmt.lib, cause it conflicted with
msvcrt.lib. After doing this I increased the complexity of my program. I
included iostream.h for ‘cout’. My program compiles fine, but I get about
35 linking-errors. Most have to do with libcimt.lib. Here are the first
two linker-errors (the others look like the second one):
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
libcimt.lib(ostream.obj) : error LNK2001: unresolved external symbol _fflush
my linking options look like this:
"
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib sdl.lib
sdlmain.lib /nologo /subsystem:console /incremental:no
/pdb:“Release/sdl_spielerei.pdb” /machine:I386 /nodefaultlib:“libcmt.lib”
/out:“Release/sdl_spielerei.exe”
"
What am I doing wrong?
Thanks in Advance,
St0fF 64.