Error 16: Index Range error while building examples from D Web development

kerdemdemir kerdemdemir at hotmail.com
Sun Sep 17 11:42:16 UTC 2017


Hi,

Thanks its price dropped to 10 Euros I bought the the D Web 
Development book and I were trying to build some examples.
The example in Chapter3 called noteapp4 is giving me this error :

Performing "debug" build using dmd for x86.
noteapp4 ~master: building configuration "application"...
C:\Users\Erdem\AppData\Roaming\dub\packages\vibe-d-0.7.32\vibe-d\source\vibe\http\server.d(286,33): Deprecation: alias diet.traits.FilterCallback is deprecated - Use SafeFilterCallback instead.
Compiling Diet HTML template create.dt...
Compiling Diet HTML template listnotes.dt...
Linking...
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
.dub\build\application-debug-windows-x86-dmd_2075-102ED5AC10E8F023CF2D8D690787ADD9\noteapp4.obj(noteapp4)  Offset 23F7EH Record Type 009D
  Error 16: Index Range
Error: linker exited with status 1
dmd failed with exit code 1.

Meanwhile hello world example compiling. I am on windows 10 and

C:\D\dmd2\windows\bin>dmd.exe --version
DMD32 D Compiler v2.075.0


Do you guys have any idea about what I am doing wrong?

Thanks


More information about the Digitalmars-d-learn mailing list