Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: newage on September 11, 2008, 08:11:22 pm
-
How to say to an executable with mingw where it has to find the dlls? :?
Its important because I want to make a GTK application with this structure:
\GTK\bin
\GTK\share
\GTK\...
\application.exe
The problem is that the dlls are in \GTK\bin, And I want that the application
seeks them in that directory. :)
Thank you.
-
add the \gtk\bin to your path ?
I don't think it is the good solution, maybe you have to change your directory structure to put your exe in bin, or to put everything that is in bin in the same directory than your exe.
HTH
--
Jérémie
-
The problem is that the dlls are in \GTK\bin, And I want that the application
seeks them in that directory. :)
Let the application just run in that path -> see project options -> tab "build targets" -> for the target in question setup the "execution working dir".