I am using visual studio's 2005 and i am having a problem trying to run some code. The error says that

fatal error LNK1104: cannot open file 'libc.lib'

I have searched google and found alot of people had the same issue with VS.net 2005. But i did not find a solution that works for me. I tried to ignore libc.lib by adding it into:

Project Properties->Configuration Properties->Linker->Input->Ignore Specific Library

But if i add it there i get this error:

error LNK2019: unresolved external symbol __iob referenced in function _output_message jpeg.lib

I am guessing i am getting this error because jpeg.lib is looking for something defined in libc.lib.

Is there a way around this?