User forums > General (but related to Code::Blocks)
How to say to an executable with mingw where it has to find the dlls?
(1/1)
newage:
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.
jfouche:
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
MortenMacFly:
--- Quote from: newage on September 11, 2008, 08:11:22 pm ---The problem is that the dlls are in \GTK\bin, And I want that the application
seeks them in that directory. :)
--- End quote ---
Let the application just run in that path -> see project options -> tab "build targets" -> for the target in question setup the "execution working dir".
Navigation
[0] Message Index
Go to full version