Re: [Dev-C++] Another one with static libraries.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Emiliano <sky...@fa...> - 2004-02-29 00:12:26
|
Many thanks: I had to link with "-ljpeg", now it seems to work. BUT, do I _always_ need to have external dlls coming with my app? Or is there a way to include libraries into the executable? This is the way it works on other systems... Emiliano ----- Original Message ----- From: "Daniel K. O." <dan...@ya...> To: "Emiliano" <sky...@fa...> Cc: <dev...@li...> Sent: Sunday, February 29, 2004 12:44 AM Subject: Re: [Dev-C++] Another one with static libraries. > 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. > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |