problem linking libjpeg

Find out how to get that @*&^$&@ thing to compile!

problem linking libjpeg

Postby jarodf » Tue Jul 23, 2002 2:33 pm

I am using libjpeg functions in my program, everything seems okay in the make, but when it comes to linking, although the libjpeg.a is in the list of modules and libraries given to cc, it keeps telling me that all symbols from libjpeg that i use in my code are not found..

Someone could help ?
Thanks !
Posts: 1
Joined: Tue Jul 23, 2002 7:00 pm

Re: problem linking libjpeg

Postby <zppz> » Wed Oct 06, 2004 6:21 am

I found that you get this if your program objects were compiled as C++ but the libjpeg was compiled as C.
I fixed it by simply renaming the libjpeg source files to .cpp (there is probably a proper way to do it that I don't know of).

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 3 guests