How do I create a package?

M alt.mcarter at gmail.com
Sat Mar 5 15:30:19 UTC 2022


On Saturday, 5 March 2022 at 15:12:35 UTC, M wrote:

> THE DOCS ARE INADEQUATE TO THE TASK.

I've created a directory bcm2835. Then within source/bcm2835 I 
have bcm2835.d.

I run dub build, and file called libbcm2835.a gets built.

I type
         dub list

and  it reports

     Packages present in the system and known to dub:
     ...
     bcm2835 ~master: /home/pi/repos/cerbo/dsp/dlang/bcm2835/

So, some kind of success, presumably.

So then, in the app I want to build, I type

       dub add bcm2835

but it says

      Could not find package 'bcm2835'.


So, dunno, any ideas?






More information about the Digitalmars-d-learn mailing list