www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - LDC can't import std.stdio

reply "Borneq" <borneq antyspam.hidden.pl> writes:
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'
Aug 12 2010
parent mwarning <moritzwarning web.de> writes:
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; }
Aug 12 2010