digitalmars.D.learn - tango link trouble
- Ansible (35/35) Mar 03 2007 I'm trying to get going with the Tango library. The windows installer
- Lars Ivar Igesund (13/52) Mar 03 2007 The slow mirror links should have worked, but since those really are the...
- Ansible (7/16) Mar 03 2007 Ok, the 'bud' download is back; it was down earlier today. I downloaded...
- Lars Ivar Igesund (8/26) Mar 03 2007 Yes, you understood quite well :) I have tried to clarify the relevant
- Ansible (18/26) Mar 04 2007 Thx for the help!
- Lars Ivar Igesund (15/48) Mar 04 2007 If you're testing example/manual/chapterStorage.d, then we're somewhat
- Ansible (2/11) Mar 04 2007 ah, didn't know you guys had a forum for tango. I guess that explains
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. So, my first program with Tango has some link errors, below. What do I need to do to get this to link correctly? 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
Mar 03 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
Mar 03 2007
Ok, the 'bud' download is back; it was down earlier today. I downloaded the exe, renamed it 'bud.exe', and put it in my \dmd\bin dir. Now typing "bud Modeler.d" works. Thx for the info. I'm assuming that's what you meant, and that you didn't mean I should recompile tango with bud, right? I'm a little unclear on that from the web page: http://www.dsource.org/projects/tango/wiki/TopicBuildingAndCompilingSo, 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.
Mar 03 2007
Ansible wrote:Yes, you understood quite well :) I have tried to clarify the relevant sentences on that page somewhat. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoOk, the 'bud' download is back; it was down earlier today. I downloaded the exe, renamed it 'bud.exe', and put it in my \dmd\bin dir. Now typing "bud Modeler.d" works. Thx for the info. I'm assuming that's what you meant, and that you didn't mean I should recompile tango with bud, right? I'm a little unclear on that from the web page: http://www.dsource.org/projects/tango/wiki/TopicBuildingAndCompilingSo, 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.
Mar 03 2007
Thx for the help! I've run into a new problem, its a link error on the linked list. When I try compiling a linked list example I get this: L:\home\bburdette\Docs\D\ben\Modeler>bud chapterstorage.d OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved L:\home\bburdette\Docs\D\dmd\import\tango\tango\util\collection\LinkSeq.obj(Link Seq) Error 42: Symbol Undefined _D5tango4util10collection4impl4Cell26__T4CellTPC7mod eler5PointZ4Cell7elementMFZPC7modeler5Point L:\home\bburdette\Docs\D\ben\Modeler> Also, I tried getting the lib installer, setup-tango-0.95-beta1.exe. This time I was able to download it, but the installer gets a 404 error trying to download a zip file. Browsing through the docs it looks like a promising lib though, I'm looking forward to getting it working... BenI'm assuming that's what you meant, and that you didn't mean I should recompile tango with bud, right? I'm a little unclear on that from the web page: http://www.dsource.org/projects/tango/wiki/TopicBuildingAndCompilingYes, you understood quite well :) I have tried to clarify the relevant sentences on that page somewhat.
Mar 04 2007
Ansible wrote:\home\bburdette\Docs\D\dmd\import\tango\tango\util\collection\LinkSeq.obj(LinkThx for the help! I've run into a new problem, its a link error on the linked list. When I try compiling a linked list example I get this: L:\home\bburdette\Docs\D\ben\Modeler>bud chapterstorage.d OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved LI'm assuming that's what you meant, and that you didn't mean I should recompile tango with bud, right? I'm a little unclear on that from the web page: http://www.dsource.org/projects/tango/wiki/TopicBuildingAndCompilingYes, you understood quite well :) I have tried to clarify the relevant sentences on that page somewhat.Seq) Error 42: Symbol Undefined _D5tango4util10collection4impl4Cell26__T4CellTPC7mod eler5PointZ4Cell7elementMFZPC7modeler5Point L:\home\bburdette\Docs\D\ben\Modeler>If you're testing example/manual/chapterStorage.d, then we're somewhat confused as it seems to work where we've tested it. If you've modified it, I'd suggest posting the source (maybe in our forum?), and also the output of "bud -test chapterstorage.d". Note that templates and the linker coming with DMD not always are best friends.Also, I tried getting the lib installer, setup-tango-0.95-beta1.exe. This time I was able to download it, but the installer gets a 404 error trying to download a zip file.Hmm, probably an issue with the dsource move.Browsing through the docs it looks like a promising lib though, I'm looking forward to getting it working...So do we :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Mar 04 2007
If you're testing example/manual/chapterStorage.d, then we're somewhat confused as it seems to work where we've tested it. If you've modified it, I'd suggest posting the source (maybe in our forum?), and also the output of "bud -test chapterstorage.d". Note that templates and the linker coming with DMD not always are best friends.ah, didn't know you guys had a forum for tango. I guess that explains why I haven't seen many posts about it here. moving over there...
Mar 04 2007