Blaher
12-25-2008, 02:00 PM
I'm currently working on a GTK+ projects with the latest version of Dev-C++.
When I build my project I'm linking to a few DLLs as part of the GTK library and everything builds fine. When I compile it, it says it can't find any of the library DLL files. So I just threw all of them in to the same directory as the .exe is in. I run it and it works fine. However, I'm very tidy and picky, so I want all my DLL files in the lib direcotry. So I need to somehow to get my program to look in the lib directory for the DLLs instead the same one as it's in. Does anyone know how to acheive this?
When I build my project I'm linking to a few DLLs as part of the GTK library and everything builds fine. When I compile it, it says it can't find any of the library DLL files. So I just threw all of them in to the same directory as the .exe is in. I run it and it works fine. However, I'm very tidy and picky, so I want all my DLL files in the lib direcotry. So I need to somehow to get my program to look in the lib directory for the DLLs instead the same one as it's in. Does anyone know how to acheive this?