www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [dimgui] building results in 16 warnings, no error BUT: Building

reply "ParticlePeter" <ParticlePeter gmx.de> writes:
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
Apr 04 2015
parent reply "Jacques =?UTF-8?B?TcO8bGxlciI=?= <jacques.mueller gmx.de> writes:
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-C976DEDDFC099
0A5E012C28B5036DF0\ 
 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
Apr 04 2015
parent "ParticlePeter" <ParticlePeter gmx.de> writes:
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-C976DEDDFC099
0A5E012C28B5036DF0\ 
 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!
Apr 04 2015