Skip to main content
gamedev.net
🔒 Locked

Jpeg Lib error message?

Started by Slug Feb 18, 2005 at 12:12 PM 2 replies 950+ views
Original Post
Slug
Slug
Hi everyone, i've tried to add a library to my project(Jpeg.lib) from my texture loader and i've got a strange error message from the compiler if i tell him to include the Jpeg lib: LIBCD.lib(crt0init.obj) : warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library What can cause this and (if possible)how can i resolve it?
Alex Baker
Alex Baker

Hi Slug,

at first, this is no error but a warning. So, please check your linker/library
dependencies:
it seems you are trying to link a static library to a multithreaded project, or
exactly the opposite; check your settings in the linker tab - it seems you just
need to change some options, no problem at all...


Alex Baker Computer science is dealing with computers as much as astronomy is dealing with telescopes.
ff8
ff8
like what Alex Baker said to solve it do this:
select from the menu
projec->setting->link
in the project options box put this line
/nodefaultlib:"LIBC"
thats all
bye
Slug
Slug
ok, thnx!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.