arsd errors on windows

Greatsam4sure greatsam4sure at yahoo.com
Thu Oct 17 04:05:40 UTC 2019


from my project root directory


dub add arsd-official

This is added to dub.json

"arsd-official": "~>4.0.3"

just run the project gives


Fetching arsd-official 4.0.3 (getting selected version)...
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for 
x86_64.
arsd-official:cgi 4.0.3: building configuration 
"embedded_httpd"...
..\..\AppData\Local\dub\packages\arsd-official-4.0.3\arsd-official\cgi.d(5828,3): Warning: statement is not reachable
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.



import arsd.simpledisplay : SimpleWindow;

run the project gives



Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for 
x86_64.
arsd-official:cgi 4.0.3: building configuration 
"embedded_httpd"...
..\..\AppData\Local\dub\packages\arsd-official-4.0.3\arsd-official\cgi.d(5828,3): Warning: statement is not reachable
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

Enter the following code get the same error

SimpleWindow window = new SimpleWindow;
window.eventLoop(0);

what is the way out. I am in need of a gui in D for Window.Gtkd 
and dlangui are not options for me. it should be easily 
customization








More information about the Digitalmars-d-learn mailing list