How to compile and test samples under Windows?

evilrat evilrat666 at gmail.com
Wed Nov 6 01:33:57 PST 2013


On Wednesday, 6 November 2013 at 09:02:57 UTC, Adam Ryczkowski 
wrote:
> I installed the DMD32 D Compiler v2.063.2 into C:\
>
> I try to complie and test the dserver.d sample specifically, but
> when I run build.bat in the dmd2\samples\d directory, I've got
> the following errors.
>
> C:\D\dmd2\samples\d>..\..\windows\bin\shell all.sh
> shell 1.05
> ..\..\windows\bin\dmd d2html
> d2html.d(38): Error: undefined identifier whitespace
> d2html.d(45): Error: undefined identifier letters
> d2html.d(51): Error: undefined identifier digits
> d2html.d(57): Error: undefined identifier hexdigits
> d2html.d(63): Error: undefined identifier octdigits
>
> --- errorlevel 1
>
>
> What did I do wrong? What could be missing?

you are running .sh script instead of .bat on windows. and looks 
like this samples a bit outdated, though d2html looks fine.


More information about the Digitalmars-d-learn mailing list