library dependencies nightmare, D edition

Marcel marcelpi97 at gmail.com
Tue Feb 25 21:31:48 UTC 2020


Hello!
I have two libraries, where library B depends on library A, where 
both libraries consist of multiple packages. Say my project (I'm 
using VisualD) folder layout is the following:

C/:
    libA
       A_Package1
       A_Package2
       A_Package3
    libB
       B_Package1 - Imports from libA.Package2
       B_Package2
       B_Package3
       Executable Module - Imports from libB.Package1

Why am I getting "Error: module "Package1" is in file 
libA\Package2 which cannot be read" messages? I tried changing 
the folder layout so that LibA is inside a dependencies folder 
inside LibB, but nothing changed. What am I missing?



More information about the Digitalmars-d-learn mailing list