Re: [Dev-C++] Another one with static libraries.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel K. O. <dan...@ya...> - 2004-02-28 23:55:40
|
Emiliano wrote: >Does windows support static libraries? > >I include jpeg.lib (or any other .lib/.a file) into my project, but, when >executing, windows complains about "jpeglib6b.dll" missing. > >This is not a big problem with other libraries coming with a .dll file, but >jpeglib misses that one, and I don't want to compile it from scratch... at >least would avoid that :) > > Some libs - like the libjpeg - have different dll versions for the same thing. The lib you have is for another dll compilation. I had a problem recently with libFLAC; the lib was exporting some MD5 symbols, that were conflicting with the program. So I linked directly to the libFLAC.dll - yes, MinGW can also link directly to the .dll, just add it to the linker options. Or, if it doesn't work, go to gnuwin32 page and download the libjpeg from them. Daniel K. O. |