Re: [Dev-C++] Simple question about using libraries
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: A. K. <kli...@we...> - 2004-03-27 16:54:06
|
Adam Ryczkowski wrote: > Dear Dev-Cpp users, > > I've built boost C++ library (using their bjam utility), for MinGW compiler. > What the build process produced are files with extension .lib, .obj and > .dll. > My question is: > how to link against these files? > (Especially how to link .lib and .obj files) > > Does Dev-Cpp give any support for it? In that case what command line > parameters should I use (I guess for the linker, ld.exe)? You put the DLL files where windows will find them (the directory of your program or maybe c:\windows\system32, etc.) Then you add this small lib file of the same name to your project in the linker settings. ALternatively, you can add the dlls to your project too if you want. .o files are just intermediate files before the linker puts them all together to a lib, dll or an executable. |