New D tutorial found, with broken web compilation

Carl Sturtivant via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Jan 26 10:12:58 PST 2015


Go to
http://www.tutorialspoint.com/d_programming/d_programming_environment.htm

and click "Try It!" on the upper right hand corner of the sample 
code to compile it. Their D compiler installation is defective. 
The same is true for all such in that tutorial that I tried. I am 
also posting this to dlang.org as they ignored my earlier attempt 
to communicate about this. Here's what happens in the browser. 
Maybe someone else can get through to them.

Compiling the source code....
$dmd -I./ main.d -ofdemo.amx 2>&1

Error: cannot find source code for runtime library file 'object.d'
        dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.
import path[0] = ./
import path[1] = /usr/local/dmd2/druntime/import
import path[2] = /usr/local/dmd2/phobos
import path[3] = /usr/bin/../../src/phobos
import path[4] = /usr/bin/../../src/druntime/import


More information about the Digitalmars-d-announce mailing list