Thread overview | |||||
---|---|---|---|---|---|
|
April 04, 2015 [dimgui] building results in 16 warnings, no error BUT: Building .dub\lib\imgui_d.lib failed! | ||||
---|---|---|---|---|
| ||||
Hi, am still searching for the right place to ask library related questions, and was advised to ask them here. The dimgui library looks interesting for my projects ( https://github.com/d-gamedev-team/dimgui ), but I don't manage to get it built or run the examples. I have no clue what's going wrong, as I just get a "FAIL" message. I use Win 8.1, dmd 2.067 ( and 2.066.1 before that ). I tried to build with dub: FAIL .dub\build\library-debug-windows-x86-dmd_2067-C976DEDDFC09960A5E012C28B5036DF0\ imgui staticLibrary Error executing command run: dmd failed with exit code 1. as well as created visualD project files and build with VS2013: Building .dub\lib\imgui_d.lib failed! How to debug this ? Or anyone with dimgui experience ? Regards, ParticlePeter |
April 04, 2015 Re: [dimgui] building results in 16 warnings, no error BUT: Building .dub\lib\imgui_d.lib failed! | ||||
---|---|---|---|---|
| ||||
Posted in reply to ParticlePeter | On Saturday, 4 April 2015 at 18:11:32 UTC, ParticlePeter wrote: > Hi, am still searching for the right place to ask library related questions, and was advised to ask them here. > > The dimgui library looks interesting for my projects > ( https://github.com/d-gamedev-team/dimgui ), but I don't manage to get it built or run the examples. I have no clue what's going wrong, as I just get a "FAIL" message. > > I use Win 8.1, dmd 2.067 ( and 2.066.1 before that ). I tried to build with dub: > FAIL .dub\build\library-debug-windows-x86-dmd_2067-C976DEDDFC09960A5E012C28B5036DF0\ imgui staticLibrary > Error executing command run: dmd failed with exit code 1. > > as well as created visualD project files and build with VS2013: > Building .dub\lib\imgui_d.lib failed! > > How to debug this ? > > Or anyone with dimgui experience ? > > Regards, ParticlePeter By default DUB calls the compiler with the command line argument -w, which aborts the compilation if a warning is printed. Add the following line to your dub.json: > "buildRequirements": ["allowWarnings"] http://code.dlang.org/package-format#build-requirements |
April 05, 2015 Re: [dimgui] building results in 16 warnings, no error BUT: Building .dub\lib\imgui_d.lib failed! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacques Müller | On Saturday, 4 April 2015 at 21:29:57 UTC, Jacques Müller wrote:
> On Saturday, 4 April 2015 at 18:11:32 UTC, ParticlePeter wrote:
>> Hi, am still searching for the right place to ask library related questions, and was advised to ask them here.
>>
>> The dimgui library looks interesting for my projects
>> ( https://github.com/d-gamedev-team/dimgui ), but I don't manage to get it built or run the examples. I have no clue what's going wrong, as I just get a "FAIL" message.
>>
>> I use Win 8.1, dmd 2.067 ( and 2.066.1 before that ). I tried to build with dub:
>> FAIL .dub\build\library-debug-windows-x86-dmd_2067-C976DEDDFC09960A5E012C28B5036DF0\ imgui staticLibrary
>> Error executing command run: dmd failed with exit code 1.
>>
>> as well as created visualD project files and build with VS2013:
>> Building .dub\lib\imgui_d.lib failed!
>>
>> How to debug this ?
>>
>> Or anyone with dimgui experience ?
>>
>> Regards, ParticlePeter
>
> By default DUB calls the compiler with the command line argument -w, which aborts the compilation if a warning is printed.
> Add the following line to your dub.json:
>
>> "buildRequirements": ["allowWarnings"]
>
> http://code.dlang.org/package-format#build-requirements
Thank you very much, that did the trick!
|
Copyright © 1999-2021 by the D Language Foundation