Dub failing to use the linker correctly.
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Oct 23 08:39:20 UTC 2021
On Saturday, 23 October 2021 at 00:54:17 UTC, Ruby The Roobster
wrote:
> On Friday, 22 October 2021 at 21:57:02 UTC, Ruby The Roobster
> wrote:
>> On Friday, 22 October 2021 at 21:21:41 UTC, jfondren wrote:
>>> On Friday, 22 October 2021 at 19:56:37 UTC, Ruby The Roobster
>>> wrote:
>>>> I have a simple vibe-d project built with dub. Running the
>>>> command, dub build --force returns the following output:
>>>
>>> I'd start by running `dub -v build --force` instead, to see
>>> the exact commands that dub is running.
>>
>> Nevermind. I edited the source and it seems to work for some
>> reason.
>
> For better context, changing ``` shared static this()``` to
> ``` void main()``` fixed the problem.
Why did you use shared static this there? Oh, maybe most examples
use that now when I think about it.
Take a look at this guide btw:
https://github.com/reyvaleza/vibed/blob/main/BuildWebAppsinVibe.pdf
More information about the Digitalmars-d-learn
mailing list