Including a file

Vindex tech.vindex at gmail.com
Sun Jul 18 17:45:24 UTC 2021


On Sunday, 18 July 2021 at 17:31:24 UTC, Adam D Ruppe wrote:
> On Sunday, 18 July 2021 at 17:28:07 UTC, Vindex wrote:
>> Error: file "thing.json" cannot be found or not in a path 
>> specified with -J
>
> You need to specify the path where it is found with the -J 
> switch to the compiler. Like `ldc2 -J. yourfile.d

I understand it. But it turns out that in order to compile any 
programs with such a library, you need to specify the path to the 
resource directory of this library?


More information about the Digitalmars-d-learn mailing list