Library Search Path VD

Rainer Schuetze r.sagitario at gmx.de
Wed Jan 16 07:18:01 UTC 2019



On 15/01/2019 21:28, Michelle Long wrote:
> Does the Library Search Path setting in the projects properties search
> all subdirectories?

No, the paths are forwarded to the linker as is, and linkers don't do
recursive searching.

> 
> I had to reset Visual Studio and lost some settings and now some
> projects are not compiling. I believe the VD settings in VS
> options/Projects and Solutions got trashed since I had to remove all the
> VS(which is probably a bad place to put them since they are tied to VS's
> properties and are lost when VS is lost but necessary for project
> creation, rather see them part of the project).

Yes, you should add search paths in the project configuration most of
the time. The global settings are mostly for finding dmd, VS and Windows
SDK library folders and allow adapting these in case anything about them
changes.

> 
> I put in a root path in the project settings but it didn't work, and
> neither did it work in the other...
> 
> If I add the dir to the project itself then I get out of memory
> errors(It's GtkD and has a lot of files)

"out of memory" from the compiler or from Visual D? I suspect the
former. You could try using a 64-bit version of dmd as built by CI, e.g.
https://ci.appveyor.com/project/greenify/dmd/builds/21647378/artifacts

The VC++ project integration also allows building per package, but you
have to rebuild your projects in this format.


More information about the Digitalmars-d-ide mailing list