digitalmars.D.learn - how to use mango
- Jan Hanselaer (17/17) Apr 25 2007 Hi all,
- Frank Benoit (9/9) Apr 25 2007 1.) install tango
- Frank Benoit (3/13) Apr 25 2007 2.1) in the tango dir call "dsss build"
- Jan Hanselaer (1/14) Apr 25 2007 So you can only use mango when Tango is installed?
- Frank Benoit (11/15) Apr 25 2007 There is an old branch that contains the old phobos compatible sources,
Hi all, I'am having trouble working with mango. Well actually the only thing I was able to do is download it from http://www.dsource.org/projects/mango/browser/trunk But I don't know how to use it. Do I really have to compile each file one by one? Besides the first file I tried gave a compile error. I tried to do it with build, but that didn't work out either (probably because that's new for me too). I'd expect that I can use a library just by using some compiler option with the dmd compiler, but it seems to be a bit more complex. Till now I only used the standard library and DFL, but the d-files using DFL are easy to compile with DFL.exe ... I guess you can see at my questions I'm a newbie, so a step by step explanation of how I can use the mango library in my d programs would be cool! Thanks in advance Jan
Apr 25 2007
1.) install tango 2.) install dsss 3.) call "dsss net install mango" 4.) write your program 5.) create a dsss.conf file which contains; [mysource.d] 6.) call "dsss build" 7.) run your program Frank
Apr 25 2007
Frank Benoit schrieb:1.) install tango 2.) install dsss2.1) in the tango dir call "dsss build" 2.2) in the tango dir call "dsss install"3.) call "dsss net install mango" 4.) write your program 5.) create a dsss.conf file which contains; [mysource.d] 6.) call "dsss build" 7.) run your program Frank
Apr 25 2007
Frank Benoit schrieb:So you can only use mango when Tango is installed?1.) install tango 2.) install dsss2.1) in the tango dir call "dsss build" 2.2) in the tango dir call "dsss install"3.) call "dsss net install mango" 4.) write your program 5.) create a dsss.conf file which contains; [mysource.d] 6.) call "dsss build" 7.) run your program Frank
Apr 25 2007
So you can only use mango when Tango is installed?There is an old branch that contains the old phobos compatible sources, but that means... - they probably do not compile with a modern DMD version - Bug fixes and enhancments are not going into this branch. => Yes, only with tango. This is how i understand it, but i am not the maintainer only a user. A simple example, on how to use this parser: Have a look into this simple BinToD tool (line 82..): http://www.dsource.org/projects/tioport/browser/trunk/bintod/bintod.d This parses files of this kind: http://www.dsource.org/projects/tioport/browser/trunk/swt-3.2.1-examples/resources_addressbook.xml
Apr 25 2007