Making D Lang More easy.

Jesse Phillips jessekphillips+D at gmail.com
Thu May 12 08:36:59 PDT 2011


It looks like your build environment is wrong. The linker doesn't know where to find Phobos and Druntime. I wouldn't expect a simple hello world program to compile with this.

Matthew Ong Wrote:

> Hi Mafi,
> 
> Thanks again.
> 
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.exe"
> 
> Not too sure why this problem keep hopping on within the D-IDE.
> In my other post. Within the IDE properties,.. I choosen DLL and
> DMD for version 2.
> 
> 
> Because the web in news group. I will tries to use another client.
> 
> I will look into the Eclipse IDE plugin link u sent.
> 
> ---------------------------------------------------------------------
> > (10:43:30 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Exceptions.d
> > (10:43:30 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Exceptions.d"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Exceptions.obj"
> -I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> > (10:43:30 PM) Process ended with code 0
> > (10:43:30 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Collections.d
> > (10:43:30 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Collections.d"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Collections.obj"
> -I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> > (10:43:31 PM) Process ended with code 0
> > (10:43:31 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\IO.d
> > (10:43:31 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\IO.d"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\IO.obj"
> -I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> > (10:43:31 PM) Process ended with code 0
> > (10:43:31 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Lang.d
> > (10:43:31 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Lang.d"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Lang.obj"
> -I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> > (10:43:31 PM) Process ended with code 0
> > (10:43:31 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Interfaces.d
> > (10:43:31 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Interfaces.d"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Interfaces.obj"
> -I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> > (10:43:31 PM) Process ended with code 0
> > (10:43:31 PM) Link files to D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.exe
> > (10:43:31 PM) dmd.exe "obj\Exceptions.obj" "obj\Collections.obj" "obj\IO.obj"
> "obj\Lang.obj" "obj\Interfaces.obj"
> -L/IMPLIB:"D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.lib"
> -of"D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.dll" -gc -debug
> > (10:43:32 PM) Process ended with code 31
> OPTLINK (R) for Win32  Release 8.00.8
> Copyright (C) Digital Mars 1989-2010  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D18TypeInfo_Interface6__vtblZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined
> _D6object9Exception6__ctorMFAyaAyakC6object9ThrowableZC9Exception
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D9invariant12_d_invariantFC6ObjectZv
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D3std6string6formatFYAya
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined __d_throwc
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined __d_newclass
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined __d_dynamic_cast
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D15TypeInfo_Struct6__vtblZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D14TypeInfo_Tuple6__vtblZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D3std5stdio12__ModuleInfoZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D3std6string12__ModuleInfoZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D10TypeInfo_k6__initZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D12TypeInfo_Aya6__initZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectC6ObjectZb
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D6object6Object6toHashMFZk
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D6object9Throwable8toStringMFZAya
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ
> obj\Exceptions.obj(Exceptions)
>  Error 42: Symbol Undefined _D9Exception7__ClassZ
> obj\Collections.obj(Collections)
>  Error 42: Symbol Undefined _D6Object7__ClassZ
> obj\Collections.obj(Collections)
>  Error 42: Symbol Undefined _D6object6Object8toStringMFZAya
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined __d_array_bounds
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined __fltused
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined _D11TypeInfo_Aa6__initZ
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined __d_arrayliteralT
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined _D11TypeInfo_Au6__initZ
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined _D3std6stream12__ModuleInfoZ
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined _D3std6stream11InputStream11__InterfaceZ
> obj\IO.obj(IO)
>  Error 42: Symbol Undefined _D3std6stream12OutputStream11__InterfaceZ
> obj\Interfaces.obj(Interfaces)
>  Error 42: Symbol Undefined _D3std9container12__ModuleInfoZ
> --- errorlevel 31



More information about the Digitalmars-d mailing list