Unresolved external symbol __imp__fprintf (in VC++ 2005 Express)

I’m trying to build my (SDL) program with run time libraries. e.i. Runtime Library= Multi-threaded Debug. It’s okay to have SDL.dll seperately. I just want to have all MS stuff embedded.

My program is running fine with “Multi-threaded Debug DLL”. But it doesn’t run on other machine without VC++ installed.

Currently, I’m getting these two errors:
SDLmain.lib(SDL_win32_main.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _ShowError
SDLmain.lib(SDL_win32_main.obj) : error LNK2019: unresolved external symbol __imp__strrchr referenced in function _main

I’ve googled and found many solutions for similar problems and I’ve been playing around with Linker->Input->Additional Dependencies and Ignore Specific Library. But everytime I received different errors. Currently, I’m using Ignore Specific Library=msvcrt.

Can anyone help?

Thanks
Phuoc Can HUA

  Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline