www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Unable to compile on Windows 7 64bit

reply "Hans Uhlig" <huhlig gmail.com> writes:
I just downloaded a copy of D-IDE and it downloaded a fresh copy 
of 2.060 and I tried to compile a brand new hello world. Anyone 
explain what I might have incorrectly setup?

main.d:
import std.stdio, std.cstream;
void main(string[] args){
	writeln("Hello World!");
	din.getc();
}

compile output:
 (12:31:52 PM) Compile main.d
C:\D\dmd2\windows\bin\dmd.exe -c "C:\Users\huhlig\Dropbox\Projects\Chronicle\Chronicle\main.d" -of"C:\Users\huhlig\Dropbox\Projects\Chronicle\Chronicle\obj\main.obj" -I"C:\D\dmd2\src\phobos" -I"C:\D\dmd2\src\druntime\import" -gc -debug
 (12:31:52 PM) Process ended with code 0
 (12:31:52 PM) Link files to Chronicle.exe
C:\D\dmd2\windows\bin\dmd.exe "obj\main.obj" -gc -debug -of"C:\Users\huhlig\Dropbox\Projects\Chronicle\Chronicle\bin\Chronicle.exe" OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html obj\main.obj(main) Error 42: Symbol Undefined _D4core5bitop3bsrFNaNbkZi obj\main.obj(main) Error 42: Symbol Undefined _D4core6memory2GC6extendFPvkkZk obj\main.obj(main) Error 42: Symbol Undefined _D4core6memory2GC6qallocFkkZS4core6memory8BlkInfo_ --- errorlevel 3
 (12:31:53 PM) Process ended with code 3
Aug 04 2012
parent "David Nadlinger" <see klickverbot.at> writes:
On Saturday, 4 August 2012 at 19:35:35 UTC, Hans Uhlig wrote:
 I just downloaded a copy of D-IDE and it downloaded a fresh 
 copy of 2.060 and I tried to compile a brand new hello world. 
 Anyone explain what I might have incorrectly setup?
You probably still have stale .di files from your last installation lying around in the import path. Completely purging the import directory and reinstalling DMD should do the trick. David
Aug 04 2012