Importing modules under DUB on Windows

Adam D Ruppe destructionator at gmail.com
Fri Oct 28 16:06:03 UTC 2022


On Friday, 28 October 2022 at 15:15:04 UTC, DLearner wrote:
> Took suggestion, dub run then produced:
> `Linking...
> lld-link: error: subsystem must be defined
> Error: linker exited with status 1`

That means the linker didn't see a `main` function. Make sure you 
have a `void main() {}` somewhere (and of course if you want the 
application to do something, make main do something)




More information about the Digitalmars-d-learn mailing list