tango link trouble

Lars Ivar Igesund larsivar at igesund.net
Sat Mar 3 10:45:42 PST 2007


Ansible wrote:

> I'm trying to get going with the Tango library.  The windows installer
> is not available from the dsource website, so I got the source and
> manually installed it and got it to compile.  The hello.d included with
> tango compiles and links fine.  I'm using the DMD compiler on windows.

The slow mirror links should have worked, but since those really are the new
server now, I've fixed the links.

> 
> So, my first program with Tango has some link errors, below.  What do I
> need to do to get this to link correctly?

This is because there is no tango library (due to prior problems with this),
and thus you need to compile in the dependent source files, also from
tango. We recommend using one of the dependency tracking build tools for
this, rebuild or bud. Further details should be in the reference
documentation. Sorry about the inconvenience.

> 
> L:\home\bburdette\Docs\D\ben\Modeler>dmd modeler.d
> L:\home\bburdette\Docs\D\dmd\bin\..\..\dm\bin\link.exe
> modeler,,,user32+kernel32
> /noi;
> OPTLINK (R) for Win32  Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> 
> modeler.obj(modeler)
>   Error 42: Symbol Undefined _D5tango4text7convert5Float7__arrayZ
> modeler.obj(modeler)
>   Error 42: Symbol Undefined _D5tango4text7convert5Float5pow10FkZd
> modeler.obj(modeler)
>   Error 42: Symbol Undefined _D5tango4text7convert7Integer7__arrayZ
> modeler.obj(modeler)
>   Error 42: Symbol Undefined
>   _D5tango2io11FileConduit11FileConduit7__ClassZ
> modeler.obj(modeler)
>   Error 42: Symbol Undefined
> _D5tango2io11FileConduit11FileConduit15ReadWriteCrea
> teS5tango2io11FileConduit11FileConduit5Style
> modeler.obj(modeler)
>   Error 42: Symbol Undefined
> _D5tango2io11FileConduit11FileConduit5_ctorMFAaS5tan
> go2io11FileConduit11FileConduit5StyleZC5tango2io11FileConduit11FileConduit
> modeler.obj(modeler)
>   Error 42: Symbol Undefined _D5tango2io8protocol6Reader6Reader7__ClassZ
> modeler.obj(modeler)
>   Error 42: Symbol Undefined
> _D5tango2io8protocol6Reader6Reader5_ctorMFC5tango2io
> 5model8IConduit8IConduitZC5tango2io8protocol6Reader6Reader
> --- errorlevel 8

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango


More information about the Digitalmars-d-learn mailing list