jpeg.lib confilicting with libc

This is a discussion on jpeg.lib confilicting with libc within the C++ Programming forums, part of the General Programming Boards category; I got this warning when linking jpeg.lib to a win32 application, the app works OK, why am I getting this ...

  1. #1
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345

    jpeg.lib confilicting with libc

    I got this warning when linking jpeg.lib to a win32 application, the app works OK, why am I getting this error? Any way to fix it.
    compiler VC++.NET 2003
    tia

  2. #2
    lyx
    lyx is offline
    Amateur
    Join Date
    Sep 2003
    Posts
    228
    If it says so, it's probably true. I guess, jpeg library is exporting function names that libc already uses. If it is so, there's no way you can fix it except if you manage to recompile the source of the jpeg library with some changes.

  3. #3
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    anyone had this problem before?
    does it have any side effects?

  4. #4
    Cat
    Cat is offline
    Registered User
    Join Date
    May 2003
    Posts
    1,571
    You can get problems like this if your library was built with different runtime libraries than the program. E.g. if your program used a multithreaded DLL version of the C runtime libraries, your library must be built using the multithreaded DLL version as well.
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

  5. #5
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    I used a lib file I got from a GameTutorials tutorial, I'm downloading the files from ijg.org right now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LNK2019 Error with jpeg.lib
    By BobMcGee123 in forum C++ Programming
    Replies: 8
    Last Post: 12-04-2008, 06:53 PM
  2. How do you exclude libc using gcc?
    By ShortCoder in forum C Programming
    Replies: 7
    Last Post: 05-22-2004, 10:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21