LDC can't import std.stdio

mwarning moritzwarning at web.de
Thu Aug 12 14:51:50 PDT 2010


On Thu, 12 Aug 2010 23:21:15 +0200, Borneq wrote:

> I install ldc under Ubuntu. When I compile import std.stdio show error:
> first.d(1): Error: module stdio cannot read file 'std/stdio.d'

LDC doesn't support D2 or Phobos, but D1/Tango (dsource.org/projects/
tango):

try this:

import tango.io.Stdout;

void main()
{
  Stdout("Hello World!").newline;
}


More information about the Digitalmars-d mailing list