dub import local D package

Steven Schveighoffer schveiguy at gmail.com
Thu Apr 21 03:59:26 UTC 2022


On 4/20/22 9:53 PM, data pulverizer wrote:
> On Thursday, 21 April 2022 at 00:14:16 UTC, Steven Schveighoffer wrote:
>> Did you substitute something real with `...` to hide it from your 
>> post? Because that's not a real path.
>>
> I used it to hide my actual paths.
> 

OK, so reviewing with that in mind, it looks like you're trying to 
import `myPackage.modules.mymodule`, but the file 
`../myPackageName/source/myPackageName/modules/mymodule.d` doesn't exist.

Is there one too many "myPackageName" packages here?

There also could be a typo somewhere, but that is masked by the fact 
that you substituted all the real names with these fake ones.

-Steve


More information about the Digitalmars-d-learn mailing list