Forum Navigation
Windows installation problems
Posted: 06/16/07 01:22:38Hi all
I'm having trouble installing tango on Windows with DMD. Here's what I did for DMD:
- downloaded dmd.zip and dmc.zip from digitalmars
- extracted both to E:\D\ and kept newer version of files
- added E:\D\dmd\bin;E:\D\dm\bin to my path
I tried compiling the hello world using phobos and all went fine. Now to install Tango.
(1) I'm confused with the wording here:
http://dsource.org/projects/tango/wiki/WindowsInstall says there's a Windows installer. But the download page it points to only has the release archive and the trunk link. I was expecting something along the lines of a .msi, what we usually get when someone says a "installer".
(2) I proceed with manual installation from trunk:
I downloaded trunk-r2310.zip and extracted it, renamed and moved the trunk directory to E:\D\DMD\import\tango, then modified the sc.ini to say:
LIB="%@P%\..\import\tango\lib;%@P%\..\lib;%@P%\..\..\dm\lib" DFLAGS="-I%@P%\..\import\tango" -version=TangoI then tried to use the build-* script (read about it in another thread) lib\build-dmd.bat, but it gives some errors along the way:
Cannot find E:\D\dmd\import\tango\lib\compiler\dmd\aaA.obj Cannot find E:\D\dmd\import\tango\lib\compiler\dmd\util\console.obj Cannot find E:\D\dmd\import\tango\lib\compiler\dmd\typeinfo\ti_AC.obj Cannot find E:\D\dmd\import\tango\lib\common\tango\*.di Cannot find E:\D\dmd\import\tango\lib\common\tango\core\Exception.obj Cannot find E:\D\dmd\import\tango\lib\common\tango\stdc\wrap.obj Subdirectory or file .. already exists.(3) Lastly I try to build the tango version of hello world:
E:\D\proj>bud hellotango.d E:\D\dmd\import\tango\tango\io\Buffer.d(16): module Exception cannot read file ' tango\core\Exception.d'I've also tried using absolute path to point to E:\D\dmd\import\tango and the lib directory, but still have the same error.
Any help would be much appreciated.