How to change path to dll-s in Codelite?

CodeLite installation/troubleshooting forum
Bootta
CodeLite Curious
Posts: 1
Joined: Wed Apr 29, 2015 4:55 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to change path to dll-s in Codelite?

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
Post Reply