Page 1 of 1

How to change path to dll-s in Codelite?

Posted: Wed Apr 29, 2015 5:01 pm
by Bootta
Hi,

I made simple hello world gui program with WxWidgets in CodeLite. Bu when i compiled and strted program exe it drop error about missing dlls. I found and put all that dlls in folder wher is exe placed, and program working great. But all that dlls in program main folder make mess and i want to move all that dll in sub folder like "libs" or something. But no success. PLs help, how to move dlls to sub folder? Thx

Re: How to change path to dll-s in Codelite?

Posted: Wed Apr 29, 2015 5:08 pm
by eranif
You need to change the PATH environment variable (google about DLL and PATH on Windows)
To make it work in CodeLite, add line similar to this from: Settings->Environment variables

Code: Select all

PATH=$PATH;C:\Path\To\My\Dll\Folder
Replace "C:\Path\To\My\Dll\Folder" to the actual path where you want your DLLs to be placed

Notice that I appended the DLLs path to the current value of PATH environment variable by using $PATH


Eran