Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: adish on August 29, 2006, 11:10:36 am

Title: DLL Paths for a whole project
Post by: adish on August 29, 2006, 11:10:36 am
Hi,

  I have just started using C::B. Good work!
I got my code to compile and link and I want to run my app.
To do this I need to add an addition path so that some required DLLs are found (they are not in the searched paths). I would like to do this for ALL targets.

The only way I found to do this is through: Settings->Compilers &Deb->Programs->Additional paths and add it there.

There are 2 problems with doing this:
1. It means adding these paths to every compiler I am working with, which is repetative.
2. Worse, it means that these paths will not be project dependent, but will be remembered between projects, not something I neccesarily want.

Is there some way of adding these paths on a project (and/or target) basis?

Thanks,
Adi
Title: Re: DLL Paths for a whole project
Post by: DonSixto on September 30, 2006, 03:35:01 am
If you put the path in the Windows PATH variable, it should work.