![Huh ???](https://forums.codeblocks.org/Smileys/default/huh.gif)
As a developer from C#, These days i'm trying to get farmilar with CodeBlocks.
I'm curious of why there's no machanism to search DLL file automatically, as same as Linker/Compiler do.
Maybe my question is a bit goofy , could any one help me out???My question is provoked from below experience about boost:
When i downloaded and compiled boost(
www.boost.org) , i tried to write a sample with Regex. Then in CodeBlocks i set the 'Search directories' for Linker and Compiler .
All I thought was CodeBlocks will find all needed files at those path.
However when i launch the sample , it told me that "a xxx.dll not found".
It took me several hours to find out the solution: copy the coresponding dll file to executable directory(debug/release). This dll file is exactly located at where the lib file is.
Why don't CodeBlocks search dll at directories specified ![Huh ???](https://forums.codeblocks.org/Smileys/default/huh.gif)
Or maybe it's the compiler who loads the lib and then search for dll , but CodeBlocks could told compiler where to position these dll files , Couldn't it
?