digitalmars.D.learn - Dub says that my programme is a libruary
- Darren Drapkin (7/7) Aug 09 I am working on a programme, the latest version of which, dub now
- Dejan Lekic (9/11) Aug 09 The easiest thing to do is to edit dub.sdl and add:
- Doigt (3/10) Aug 14 It might have trouble locating your main function. What's your
I am working on a programme, the latest version of which, dub now says is a libruary, when previous versions are not. What can I do to stop dub asserting that my programme is a libruary and compile it normally? -- Yours &c Darren Drapkin
Aug 09
On Sunday, 9 August 2026 at 13:16:35 UTC, Darren Drapkin wrote:What can I do to stop dub asserting that my programme is a libruary and compile it normally?The easiest thing to do is to edit dub.sdl and add: ``` targetType "executable" ``` or if you use JSON, add the following to your dub.json: ```json "targetType": "executable" ```
Aug 09
On Sunday, 9 August 2026 at 13:16:35 UTC, Darren Drapkin wrote:I am working on a programme, the latest version of which, dub now says is a libruary, when previous versions are not. What can I do to stop dub asserting that my programme is a libruary and compile it normally? -- Yours &c Darren DrapkinIt might have trouble locating your main function. What's your project structure like?
Aug 14









Dejan Lekic <dejan.lekic gmail.com> 