digitalmars.D.learn - Issue: Installing D
- Chris Miller (5/5) Feb 18 2008 I've been having some major issues for a long while now trying to instal...
- Bill Baxter (3/12) Feb 18 2008 Do you think it's Vista-specific?
- Chris Miller (5/17) Feb 18 2008 I don't think so, since I'm running my shells as administrator. I use C...
- Bill Baxter (18/39) Feb 18 2008 I have a Cygwin install too, but I don't trust it for doing D stuff. Or...
- Bill Baxter (6/77) Feb 18 2008 BTW... you must be a different Chris Miller than the one who wrote DFL,
- Jarrett Billingsley (5/9) Feb 19 2008 Yes, this is Chris "Lord Sauron" Miller, not Chris "byte[]" Miller ;) I...
- torhu (18/23) Feb 18 2008 Setting up a D environment and be able to build apps can be trickier
- Chris Miller (8/34) Feb 19 2008 Actually that helps a great deal.
- Jarrett Billingsley (8/14) Feb 19 2008 Hey, take it up with the Big Man. There's overwhelming support for Tang...
- jcc7 (32/49) Feb 20 2008 I don't want this thread to become another Phobos vs. Tango thread, but ...
- jcc7 (13/20) Feb 19 2008 I assume you've been sticking with DMD 1.x since I don't think that Tang...
- Jarrett Billingsley (12/29) Feb 19 2008 To install Derelict, I've always followed the instruction here:
- Christopher Wright (5/14) Feb 19 2008 For Tango, there's http://www.dsource.org/projects/tango/wiki/WindowsIns...
- Jacob Carlborg (5/14) Feb 19 2008 I have previously written two installation guides
- Chris Miller (7/23) Feb 19 2008 That's exactly the kind of tutorial I've been looking for!
- Jesse Phillips (4/58) Feb 19 2008 Digitalmars is the only ones (except Tangos special privileges) to
- Chris Miller (25/45) Feb 19 2008 I attempted to install this stuff to a flash drive while at school. It ...
- Bill Baxter (10/67) Feb 19 2008 fromStringz is a function in the latest SVN of Tango.
- Chris Miller (5/43) Feb 19 2008 Hmm, I don't know. The version file says it's a compatible version (I t...
- Jacob Carlborg (6/54) Feb 20 2008 I think you have an old version of tango where they haven't changed to
- Chris Miller (13/68) Feb 20 2008 I downloaded this:
- Jesse Phillips (15/110) Feb 20 2008 I don't really have suggestions, couldn't exactly follow what was being
- Chris Miller (5/117) Feb 20 2008 Wouldn't it build a version of Tango and stick that in \dsss\import or s...
- Mike Parker (9/97) Feb 20 2008 I recently, as in a week or so ago, updated the Derelict trunk with a
- Chris Miller (3/102) Feb 20 2008 I'll try that right away and let you know.
- Chris Miller (5/111) Feb 20 2008 Nope, it says that Derelict isn't installed. It checks out the sources ...
- Chris Miller (33/38) Feb 20 2008 What transpired was really quite interesting, so I'll document it in ord...
- Clay Smith (13/22) Feb 19 2008 Here's what I do.
- naryl (5/35) Feb 20 2008 I've got weird link errors when I installed tango w/ tangobos and DMD
I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!
Feb 18 2008
Chris Miller wrote:I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Do you think it's Vista-specific? --bb
Feb 18 2008
Bill Baxter Wrote:Chris Miller wrote:I don't think so, since I'm running my shells as administrator. I use Cygwin in addition to the normal Windows command prompt, switching to the less-capable windows prompt when necessary. I know I have something that almost works, since I got it to the point where I have a base install (Phobos, dmd, and nothing else) which can compile a blank D program (void main(){}) without any problems, and UAC doesn't try and badger me. It's getting Derelect, Tango*, and DDBI as well that's proving to be the hard part. DWT would be nice, too, but I could do without it if I have to. Rebuild is also sort of required, since I can't build all this stuff by hand all the time. That's just raw insanity if you ask me! * Or Tangobos. I just need the features from the listed libraries, I don't much care how I get 'em. I just want to write code now... I've been beating compilers around for a long time trying to get them to work. If you have a working setup, man, consider yourself lucky! You don't know how hard it is to see a beautiful language and not be able to take it for a spin!I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Do you think it's Vista-specific?
Feb 18 2008
Chris Miller wrote:Bill Baxter Wrote:I have a Cygwin install too, but I don't trust it for doing D stuff. Or rather the D toolchain has so much crufty stuff in it that I don't trust it to be able to compile from anywhere other than a good ole DOS prompt. Speaking of crufy toolchain, which directory did you install D stuff into? I think C:\dmd is what's recommended -- specifically no spaces of funky chars in your path. I've been using f:\usr\pkg\d\dmd as my install location for a long time with no troubles. (F:\ is a portable drive.) I've got other things installed mostly under the dmd imports dir: f:\usr\pkg\d\dmd\import\tangobos f:\usr\pkg\d\dmd\import\dfl f:\usr\pkg\d\dmd\import\tango f:\usr\pkg\d\dmd\import\derelict etc... DSSS is under: f:\usr\pkg\d\dsss --bbChris Miller wrote:I don't think so, since I'm running my shells as administrator. I use Cygwin in addition to the normal Windows command prompt, switching to the less-capable windows prompt when necessary. I know I have something that almost works, since I got it to the point where I have a base install (Phobos, dmd, and nothing else) which can compile a blank D program (void main(){}) without any problems, and UAC doesn't try and badger me. It's getting Derelect, Tango*, and DDBI as well that's proving to be the hard part. DWT would be nice, too, but I could do without it if I have to. Rebuild is also sort of required, since I can't build all this stuff by hand all the time. That's just raw insanity if you ask me! * Or Tangobos. I just need the features from the listed libraries, I don't much care how I get 'em. I just want to write code now... I've been beating compilers around for a long time trying to get them to work. If you have a working setup, man, consider yourself lucky! You don't know how hard it is to see a beautiful language and not be able to take it for a spin!I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Do you think it's Vista-specific?
Feb 18 2008
Bill Baxter wrote:Chris Miller wrote:BTW... you must be a different Chris Miller than the one who wrote DFL, huh? That would explain how Chris Miller was able to fix a bug I reported yesterday at the same time Chris Miller is unable to get a D install working at all. :-) Confused me for a minute there... --bbBill Baxter Wrote:I have a Cygwin install too, but I don't trust it for doing D stuff. Or rather the D toolchain has so much crufty stuff in it that I don't trust it to be able to compile from anywhere other than a good ole DOS prompt. Speaking of crufy toolchain, which directory did you install D stuff into? I think C:\dmd is what's recommended -- specifically no spaces of funky chars in your path. I've been using f:\usr\pkg\d\dmd as my install location for a long time with no troubles. (F:\ is a portable drive.) I've got other things installed mostly under the dmd imports dir: f:\usr\pkg\d\dmd\import\tangobos f:\usr\pkg\d\dmd\import\dfl f:\usr\pkg\d\dmd\import\tango f:\usr\pkg\d\dmd\import\derelict etc... DSSS is under: f:\usr\pkg\d\dsss --bbChris Miller wrote:I don't think so, since I'm running my shells as administrator. I use Cygwin in addition to the normal Windows command prompt, switching to the less-capable windows prompt when necessary. I know I have something that almost works, since I got it to the point where I have a base install (Phobos, dmd, and nothing else) which can compile a blank D program (void main(){}) without any problems, and UAC doesn't try and badger me. It's getting Derelect, Tango*, and DDBI as well that's proving to be the hard part. DWT would be nice, too, but I could do without it if I have to. Rebuild is also sort of required, since I can't build all this stuff by hand all the time. That's just raw insanity if you ask me! * Or Tangobos. I just need the features from the listed libraries, I don't much care how I get 'em. I just want to write code now... I've been beating compilers around for a long time trying to get them to work. If you have a working setup, man, consider yourself lucky! You don't know how hard it is to see a beautiful language and not be able to take it for a spin!I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Do you think it's Vista-specific?
Feb 18 2008
"Bill Baxter" <dnewsgroup billbaxter.com> wrote in message news:fpe0l1$2up4$2 digitalmars.com...BTW... you must be a different Chris Miller than the one who wrote DFL, huh? That would explain how Chris Miller was able to fix a bug I reported yesterday at the same time Chris Miller is unable to get a D install working at all. :-) Confused me for a minute there...Yes, this is Chris "Lord Sauron" Miller, not Chris "byte[]" Miller ;) I mean, when you have such a common name, you're bound to get duplicates once in a while.
Feb 19 2008
Chris Miller wrote:I know I have something that almost works, since I got it to the point where I have a base install (Phobos, dmd, and nothing else) which can compile a blank D program (void main(){}) without any problems, and UAC doesn't try and badger me. It's getting Derelect, Tango*, and DDBI as well that's proving to be the hard part. DWT would be nice, too, but I could do without it if I have to. Rebuild is also sort of required, since I can't build all this stuff by hand all the time. That's just raw insanity if you ask me! * Or Tangobos. I just need the features from the listed libraries, I don't much care how I get 'em. I just want to write code now... I've been beating compilers around for a long time trying to get them to work. If you have a working setup, man, consider yourself lucky! You don't know how hard it is to see a beautiful language and not be able to take it for a spin!Setting up a D environment and be able to build apps can be trickier than with other languagues. Mostly because there are two competing std libraries, and because the commonly used build tools are so different from what people are used to. One important basic is to figure out how to configure dmd correctly, mainly the LIB and DFLAGS settings in sc.ini. I'll just post the link here, to further insult your intelligence. ;) http://www.digitalmars.com/d/1.0/dcompiler.html#sc_ini Some random hints: Don't try to build tango with dsss, IIRC it doesn't work. Use the batch files in tango/lib, you just need to run them in alphabetical order. Then you only need to set up your import (include) and lib paths in sc.ini to point to tango instead of phobos. Don't try to use tangobos until you've gotten some general experience with building D apps and libs. It can complicate your build process a lot. And if you post the error messages here or in #D on irc, there's a good chance someone will spot the problem right away. Been there, done that. :)
Feb 18 2008
torhu Wrote:Chris Miller wrote:90% of the ambiguity I perceive is from the Phobos/Tango problem.I know I have something that almost works, since I got it to the point where I have a base install (Phobos, dmd, and nothing else) which can compile a blank D program (void main(){}) without any problems, and UAC doesn't try and badger me. It's getting Derelect, Tango*, and DDBI as well that's proving to be the hard part. DWT would be nice, too, but I could do without it if I have to. Rebuild is also sort of required, since I can't build all this stuff by hand all the time. That's just raw insanity if you ask me! * Or Tangobos. I just need the features from the listed libraries, I don't much care how I get 'em. I just want to write code now... I've been beating compilers around for a long time trying to get them to work. If you have a working setup, man, consider yourself lucky! You don't know how hard it is to see a beautiful language and not be able to take it for a spin!Setting up a D environment and be able to build apps can be trickier than with other languagues. Mostly because there are two competing std libraries, and because the commonly used build tools are so different from what people are used to.One important basic is to figure out how to configure dmd correctly, mainly the LIB and DFLAGS settings in sc.ini. I'll just post the link here, to further insult your intelligence. ;) http://www.digitalmars.com/d/1.0/dcompiler.html#sc_iniActually that helps a great deal.Some random hints: Don't try to build tango with dsss, IIRC it doesn't work. Use the batch files in tango/lib, you just need to run them in alphabetical order. Then you only need to set up your import (include) and lib paths in sc.ini to point to tango instead of phobos.Batch files? Gosh that sounds not far removed from the time-honored tradition of caveman debugging. In the Engineer's famous last words, there has to be a better way. I'll try the batch files if nothing else works.Don't try to use tangobos until you've gotten some general experience with building D apps and libs. It can complicate your build process a lot.Yeah, I read something about differences between Object.d and madness like that. If the two library's cores are separate, it seems to me that one could mitigate their differences and stick them both into the default download. It's very detrimental to continue to have these two libraries conflicting so violently with each other.And if you post the error messages here or in #D on irc, there's a good chance someone will spot the problem right away. Been there, done that. :)Ah, yes, IRC. The one thing I always have with me, but never remember to use. I'm so old-school. I have yet to really embrace instant messaging, cell phones, text messaging, and forum boards. I'm still stuck in email and Usenet.
Feb 19 2008
"Chris Miller" <lordSaurontheGreat gmail.com> wrote in message news:fpfjh4$lds$1 digitalmars.com...Yeah, I read something about differences between Object.d and madness like that. If the two library's cores are separate, it seems to me that one could mitigate their differences and stick them both into the default download. It's very detrimental to continue to have these two libraries conflicting so violently with each other.Hey, take it up with the Big Man. There's overwhelming support for Tango to supplant or at least be a surrogate to Phobos, if the recent survey says anything, but Walter still insists on keeping Phobos. There's only one person who can say which library is "standard" and either he doesn't _want_ to or he just doesn't have the time. (My guess is a bit of both.) Until then, there's nothing anyone else can do.
Feb 19 2008
== Quote from Jarrett Billingsley (kb3ctd2 yahoo.com)'s article"Chris Miller" <lordSaurontheGreat gmail.com> wrote in message news:fpfjh4$lds$1 digitalmars.com...I don't want this thread to become another Phobos vs. Tango thread, but I'm going to express my opinion. <rant> This attitude of (paraphrasing) "there are two standard libraries because Walter won't declare that Tango is the standard library" is part of the reason why people don't like Tango. (And I think that members of the Tango team have argued that the Tango team has never called Tango a standard library. Indeed, the Tango website, http://www.dsource.org/projects/tango, doesn't seem to refer to Tango as a standard library.) Phobos is the standard library: "Phobos is the standard runtime library that comes with the D language compiler." http://www.digitalmars.com/d/2.0/phobos/phobos.html Tango is an alternate runtime library. It's not a standard library. Walter has made his decision. Maybe he'll adopt Tango in the future, but Phobos was first and Tango is the new kid. The new kid has a lot of toys and doesn't want to share the sandbox with Phobos, but it's still the new kid. I understand that Tango came about from merging Ares and Mango (and some other projects), but I think it's unfortunate that it can't coexist better with Phobos -- such as a version of Tango that is available without the runtime so that you can download a standard DMD package from digitalmars.com and then supplement it with some Tango goodies. It sounds like Walter is slowly accepting some runtime improvements from Tango, but I doubt that Walter will ever accept all of Tango's ideas. He likes to be in control and be able to judge for himself whether the code is what he wants. The best we can realistically hope for is improved compatibility. Tango could help by compromising some of its uniqueness when Walter has gone as far as he's going to do. (I think that Tango has had some changes to improve compatibility recently, and that's a good thing.) Winning a web poll doesn't prove overwhelming support. It'll take more than that to sway Walter. (Many people abstain from web polls because they realize they don't have any effect.) Walter's vote is worth more than the rest of our votes. </rant>Yeah, I read something about differences between Object.d and madness like that. If the two library's cores are separate, it seems to me that one could mitigate their differences and stick them both into the default download. It's very detrimental to continue to have these two libraries conflicting so violently with each other.Hey, take it up with the Big Man. There's overwhelming support for Tango to supplant or at least be a surrogate to Phobos, if the recent survey says anything, but Walter still insists on keeping Phobos. There's only one person who can say which library is "standard" and either he doesn't _want_ to or he just doesn't have the time. (My guess is a bit of both.) Until then, there's nothing anyone else can do.
Feb 20 2008
== Quote from Chris Miller (lordSaurontheGreat gmail.com)'s articleI've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI.I assume you've been sticking with DMD 1.x since I don't think that Tango or Derelict (or even DDBI?) are available for DMD 2.x. (And the last time I checked the latest DSSS wasn't compatible with the latest DMD 2.x.)I've totally given up on finding an IDE by now.I guess some people use Eclipse with the Descent plug-in, but I think most people just use a simple text editor that's setup to highlight D keywords. I hope you get it figured out, but without more detail about what your problems are, I don't know what more advice to give. By the way, I use batch files for compiling and I've found that I pretty much need the bin directories for both DMD and DSSS in the path to get DSSS to work. I don't know if that's because I'm "doing it wrong" or what, but I can get it to work that way. But I don't use Tango or Derelict or DDBI, so I don't know how those complicate things.
Feb 19 2008
"Chris Miller" <lordSaurontheGreat gmail.com> wrote in message news:fpdrpn$2nqe$1 digitalmars.com...I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!To install Derelict, I've always followed the instruction here: http://dmedia.dprogramming.com/?n=Tutorials.SdlGlTutorial1 Which are linked to from the Derelict project page, but inexplicably not actually _on_ the Derelict project page. They've always worked perfectly (the Windows install instructions). DSSS shouldn't be _that_ hard. It's basically 1) Unzip the DSSS zip to somewhere. 2) Add that path\bin to your PATH. Tango's probably going to be the trickiest part. I've got it installed but TBH I'm not entirely sure how X(
Feb 19 2008
Chris Miller wrote:I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!For Tango, there's http://www.dsource.org/projects/tango/wiki/WindowsInstall The downloads page linked from there is http://www.dsource.org/projects/tango/wiki/DmdDownloads#MSWindows which all include DMD.
Feb 19 2008
Chris Miller wrote:I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtml D, DSSS, Tango and DWT - http://www.dsource.org/projects/dwt/wiki/Installation
Feb 19 2008
Jacob Carlborg Wrote:Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtmlD, DSSS, Tango and DWT - http://www.dsource.org/projects/dwt/wiki/InstallationThat's not so bad... coming from a guy who spent about three months messing with C++ and Boost (never did work, but it wasn't my fault either!). I was trained in Java, so I Java-like GUI toolkit will help me greatly! I'm sort of amazed that there isn't a downloadable image that has all of these things by default. To me it would seem second nature to release toolkit images containing the basic libraries for GUI, OpenGL, std (Tango), etc. Once you get this stuff installed it's not that weird, a simple file tree would look something like :d\;:d\dm;:\d\dmd;:d\dsss which the user could unzip to anywhere and have an instant toolchain right there. Just add the stuff to the PATH and you're good to go.
Feb 19 2008
On Tue, 19 Feb 2008 11:41:56 -0500, Chris Miller wrote:Jacob Carlborg Wrote:Digitalmars is the only ones (except Tangos special privileges) to distribute dmd. This has caused limited ability for community driven packages. And yes this has come up in discussions before.Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtmlD, DSSS, Tango and DWT - http://www.dsource.org/projects/dwt/wiki/InstallationThat's not so bad... coming from a guy who spent about three months messing with C++ and Boost (never did work, but it wasn't my fault either!). I was trained in Java, so I Java-like GUI toolkit will help me greatly! I'm sort of amazed that there isn't a downloadable image that has all of these things by default. To me it would seem second nature to release toolkit images containing the basic libraries for GUI, OpenGL, std (Tango), etc. Once you get this stuff installed it's not that weird, a simple file tree would look something like :d\;:d\dm;:\d\dmd;:d\dsss which the user could unzip to anywhere and have an instant toolchain right there. Just add the stuff to the PATH and you're good to go.
Feb 19 2008
Chris Miller Wrote:Jacob Carlborg Wrote:I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it. I tried both repositories DSSS gave the the choice of downloading from. Both gave the same results. The Tango example compiled and ran okay though, so I know it isn't an issue with a broken compiler or something like that. Attached are the directory trees of the relevant directories. Thanks for the help, I've already gotten further than I previously would be able to much faster than I would have been able to get on my own. My goal is to have this stuff working by the Ides of March so I can begin the real fun work of coding (which is why I'm a programmer - mucking around with installing stuff is for IT gremlins!)Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtml
Feb 19 2008
Chris Miller wrote:Chris Miller Wrote:fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that. --bbJacob Carlborg Wrote:I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it. I tried both repositories DSSS gave the the choice of downloading from. Both gave the same results. The Tango example compiled and ran okay though, so I know it isn't an issue with a broken compiler or something like that. Attached are the directory trees of the relevant directories. Thanks for the help, I've already gotten further than I previously would be able to much faster than I would have been able to get on my own. My goal is to have this stuff working by the Ides of March so I can begin the real fun work of coding (which is why I'm a programmer - mucking around with installing stuff is for IT gremlins!)Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtml
Feb 19 2008
Bill Baxter Wrote:Chris Miller wrote:Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?) excerpt from Version.d: module tango.core.Version; public const Tango = 0.995f;Chris Miller Wrote: I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that.
Feb 19 2008
Chris Miller wrote:Bill Baxter Wrote:I think you have an old version of tango where they haven't changed to fromStringz yet. As far as I know Tango 0.99.5 hasn't been released yet but I've heard it will be soon. You can download the svn trunk, I usually don't recompile the library I just replace the source files, I think it should be enough.Chris Miller wrote:Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?) excerpt from Version.d: module tango.core.Version; public const Tango = 0.995f;Chris Miller Wrote: I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that.
Feb 20 2008
Jacob Carlborg Wrote:Chris Miller wrote:I downloaded this: http://downloads.dsource.org/projects/tango/snapshots/tango-bin-win32-CURRENT-dmd.1.025.zip Which is the fourth link down on this page: http://dsource.org/projects/tango/wiki/DmdDownloads Which I got to from here: http://dsource.org/projects/tango/wiki/Download From the "Get Tango" box here: http://dsource.org/projects/tango So you think it may be that that binaries aren't the right version, and that I should install Tango through DSSS? Didn't someone say that installing Tango through DSSS was unreliable? Furthermore, if I install Tango through DSSS (dsss net install tango), how will I force it to use the DSSS installation and not the Tango already in :\dmd? Will the DSSS installation take precedence over the :\dmd version by default? Should I change some configuration settings in :\dsss? Getting scared and running back to Java isn't an option for me anymore, so you may be stuck with me ;) After the Fibers in Tango I get real excited and thought "wow, this is the language for me!" Fibers reminded me of the Python Generators I read about elsewhere. Thanks for your help, hopefully we can figure out the problem and fix it. At which point someone should update the page on Wiki4D or something...Bill Baxter Wrote:I think you have an old version of tango where they haven't changed to fromStringz yet. As far as I know Tango 0.99.5 hasn't been released yet but I've heard it will be soon. You can download the svn trunk, I usually don't recompile the library I just replace the source files, I think it should be enough.Chris Miller wrote:Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?) excerpt from Version.d: module tango.core.Version; public const Tango = 0.995f;Chris Miller Wrote: I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that.
Feb 20 2008
On Wed, 20 Feb 2008 17:36:42 -0500, Chris Miller wrote:Jacob Carlborg Wrote:CURRENT-dmd.1.025.zipChris Miller wrote:I downloaded this: http://downloads.dsource.org/projects/tango/snapshots/tango-bin-win32-Bill Baxter Wrote:I think you have an old version of tango where they haven't changed to fromStringz yet. As far as I know Tango 0.99.5 hasn't been released yet but I've heard it will be soon. You can download the svn trunk, I usually don't recompile the library I just replace the source files, I think it should be enough.Chris Miller wrote:Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?) excerpt from Version.d: module tango.core.Version; public const Tango = 0.995f;Chris Miller Wrote: I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that.Which is the fourth link down on this page: http://dsource.org/projects/tango/wiki/DmdDownloads Which I got to from here: http://dsource.org/projects/tango/wiki/Download From the "Get Tango" box here: http://dsource.org/projects/tango So you think it may be that that binaries aren't the right version, and that I should install Tango through DSSS? Didn't someone say that installing Tango through DSSS was unreliable? Furthermore, if I install Tango through DSSS (dsss net install tango), how will I force it to use the DSSS installation and not the Tango already in :\dmd? Will the DSSS installation take precedence over the :\dmd version by default? Should I change some configuration settings in :\dsss? Getting scared and running back to Java isn't an option for me anymore, so you may be stuck with me ;) After the Fibers in Tango I get real excited and thought "wow, this is the language for me!" Fibers reminded me of the Python Generators I read about elsewhere. Thanks for your help, hopefully we can figure out the problem and fix it. At which point someone should update the page on Wiki4D or something...I don't really have suggestions, couldn't exactly follow what was being asked or tried, but I'll see if I can explain some things. DSSS builds against Phobos thus you can not install the Tango-dmd bundle and then compile DSSS. "Furthermore, if I install Tango through DSSS (dsss net install tango), how will I force it to use the DSSS installation and not the Tango already in :\dmd?" This question really has me lost, I think you have some misunderstanding. DSSS is a build tool that uses dmd, Tango is a run-time library for dmd to link in. Thus you should be able to use DSSS, Tango and DMD as one big happy family. I've never installed Tango with dsss netinstall nor have I installed either in windows. Hope I clarified something.
Feb 20 2008
Jesse Phillips Wrote:On Wed, 20 Feb 2008 17:36:42 -0500, Chris Miller wrote:I never tried building DSSS.Jacob Carlborg Wrote:CURRENT-dmd.1.025.zipChris Miller wrote:I downloaded this: http://downloads.dsource.org/projects/tango/snapshots/tango-bin-win32-Bill Baxter Wrote:I think you have an old version of tango where they haven't changed to fromStringz yet. As far as I know Tango 0.99.5 hasn't been released yet but I've heard it will be soon. You can download the svn trunk, I usually don't recompile the library I just replace the source files, I think it should be enough.Chris Miller wrote:Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?) excerpt from Version.d: module tango.core.Version; public const Tango = 0.995f;Chris Miller Wrote: I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.fromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that.Which is the fourth link down on this page: http://dsource.org/projects/tango/wiki/DmdDownloads Which I got to from here: http://dsource.org/projects/tango/wiki/Download From the "Get Tango" box here: http://dsource.org/projects/tango So you think it may be that that binaries aren't the right version, and that I should install Tango through DSSS? Didn't someone say that installing Tango through DSSS was unreliable? Furthermore, if I install Tango through DSSS (dsss net install tango), how will I force it to use the DSSS installation and not the Tango already in :\dmd? Will the DSSS installation take precedence over the :\dmd version by default? Should I change some configuration settings in :\dsss? Getting scared and running back to Java isn't an option for me anymore, so you may be stuck with me ;) After the Fibers in Tango I get real excited and thought "wow, this is the language for me!" Fibers reminded me of the Python Generators I read about elsewhere. Thanks for your help, hopefully we can figure out the problem and fix it. At which point someone should update the page on Wiki4D or something...I don't really have suggestions, couldn't exactly follow what was being asked or tried, but I'll see if I can explain some things. DSSS builds against Phobos thus you can not install the Tango-dmd bundle and then compile DSSS."Furthermore, if I install Tango through DSSS (dsss net install tango), how will I force it to use the DSSS installation and not the Tango already in :\dmd?"Wouldn't it build a version of Tango and stick that in \dsss\import or something?This question really has me lost, I think you have some misunderstanding. DSSS is a build tool that uses dmd, Tango is a run-time library for dmd to link in. Thus you should be able to use DSSS, Tango and DMD as one big happy family. I've never installed Tango with dsss netinstall nor have I installed either in windows.I wouldn't suggest trying much of anything in Windows except for fdisk c: I try to stick with Linux, but there does come a time when it's necessary to make it work on Windows.
Feb 20 2008
Bill Baxter wrote:Chris Miller wrote:Chris Miller Wrote:Jacob Carlborg Wrote:I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtmlfromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that. --bbI recently, as in a week or so ago, updated the Derelict trunk with a fix that allows it to work with both the current Tango release and the current trunk. I tested 'dsss net install derelict' with the current Tango release (i.e. the one with fromUTF8z rather than fromStringz, which Crhis appears to be using) and it worked fine. Chris, I suggest you uninstall Derelict (dsss uninstall derelict) and then pull it down again with a net install to make sure you have the latest trunk.
Feb 20 2008
Mike Parker Wrote:Bill Baxter wrote:I don't see how that can happen. I'm using a fresh install of DSSS, which should have pulled the Derelict trunk out.Chris Miller wrote:Chris Miller Wrote:Jacob Carlborg Wrote:I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtmlfromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that. --bbI recently, as in a week or so ago, updated the Derelict trunk with a fix that allows it to work with both the current Tango release and the current trunk. I tested 'dsss net install derelict' with the current Tango release (i.e. the one with fromUTF8z rather than fromStringz, which Crhis appears to be using) and it worked fine.Chris, I suggest you uninstall Derelict (dsss uninstall derelict) and then pull it down again with a net install to make sure you have the latest trunk.I'll try that right away and let you know.
Feb 20 2008
Chris Miller Wrote:Mike Parker Wrote:Nope, it says that Derelict isn't installed. It checks out the sources again when I tried to install again. I'm using the dsource mirror for DSSS, by the way. I'm going to try installing Tango a la DSSS, then see if Derelict works. I'll keep you posted in any event.Bill Baxter wrote:I don't see how that can happen. I'm using a fresh install of DSSS, which should have pulled the Derelict trunk out.Chris Miller wrote:Chris Miller Wrote:Jacob Carlborg Wrote:I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens: .. lots of stuff we don't care about ... Exported revision 282. Creating imports for DerelictUtil derelict => DerelictUtil + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util \wrapper.d -ofDerelictUtil.lib derelict\util\wrapper.d(71): Error: undefined identifier fromStringz derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz of type int derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt ringz(cstr)) of type int to char[] Command C:\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments. I have a few hypotheses: 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango. 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.Chris Miller wrote:That's exactly the kind of tutorial I've been looking for! Unfortunately I'm not at my workstation (using my Ubuntu Linux laptop ATM) so I'll have to take another whack at this when I get home.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!I have previously written two installation guides D, DSSS, Tango and Derelict - http://www.gravitygame.se/denvironment.rhtmlfromStringz is a function in the latest SVN of Tango. It called fromUtf8z in the 0.99.4 Tango "Frank" release. dsss net install generally downloads latest sources from dsource, so I suspect what happened is that SVN Derelict has been fixed to work with SVN tango, but you are using the release Tango. You can either get Tango from SVN and build it, Or you can maybe find a tarball of Derelict that's compatible with 0.99.4 tango and install that. --bbI recently, as in a week or so ago, updated the Derelict trunk with a fix that allows it to work with both the current Tango release and the current trunk. I tested 'dsss net install derelict' with the current Tango release (i.e. the one with fromUTF8z rather than fromStringz, which Crhis appears to be using) and it worked fine.Chris, I suggest you uninstall Derelict (dsss uninstall derelict) and then pull it down again with a net install to make sure you have the latest trunk.I'll try that right away and let you know.
Feb 20 2008
Chris Miller Wrote:I'm using the dsource mirror for DSSS, by the way. I'm going to try installing Tango a la DSSS, then see if Derelict works. I'll keep you posted in any event.What transpired was really quite interesting, so I'll document it in order. 1) Tried dsss net install derelict. It did not work because of the aforementioned string issue 2) Tried dsss uninstall derelict. It said derelict was not installed. 3) Tried dsss net install tango. It installed fine, but I didn't notice a message complaining of a missing Exception.d file. 4) Tried dsss net install derelict. It worked this time (go figure!). 5) Tried this example to test the system: import derelict.opengl.gl; import tango.io.Stdout; void main() { try { DerelictGL.load(); Stdout("Successfully loaded the OpenGL shared library.").newline; } catch (Exception e) Stdout("Could not load the OpenGL shared library.").newline; } It didn't work because of the missing Example.d file. To build it I used "dsss build gl_test.d" though I also tried "rebuild gl_test.d" wondering if that would get different results (it didn't). 6) Considered playing a video game to take my mind off of the problem so that perhaps I'd attack it from a new angle next go around. 7) Didn't have any sufficiently interesting games installed (sorta why I'm building one). 8) Realized that there wasn't anything in my setup that couldn't be regenerated. Fire-and-forget mode now activated. 9) Downloaded the current release of Tango/DMD (http://downloads.dsource.org/projects/tango/0.99.4/tango-0.99.4-bin- in32-dmd.1.024.zip) and unzipped it to \dmd, overwrote all files. 10) Tried to build the example file again. Worked just fine. 11) Ran the example file. Worked just fine. So now I have these: o Digital Mars D Compiler version 1.024 o Tango version 0.994 o Derelict o DDBI Which leaves only DWT off the list. Assuming I follow the DWT-win instructions to the letter, I should get a working system, right? At which point I'm planning on zipping the whole mess up and waiting until everything in the above list is available through DSSS :)
Feb 20 2008
Chris Miller wrote:I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Here's what I do. 1) Install DMD and DMC from the .zip (DMC unzip first) as per instructions on the web. 2) Install latest stable tango release from the .zip on their page, overwrite necessary files. Tango is now installed. 3) Set up DSSS by unzipping in D:\dsss 4) Learn how to add dsss.exe, dmd.exe, dmc.exe to your PATH 5) Learn how to create dsss .conf files 6) Install ddbg, add to PATH http://ddbg.mainia.de/doc.html 7) Use 'cmd' prompt, type 'dsss build' to build your software. For an editor, I like DScite. 8) You should be good to go.
Feb 19 2008
On Wed, 20 Feb 2008 01:21:33 +0300, Clay Smith <clayasaurus gmail.com> wrote:Chris Miller wrote:I've got weird link errors when I installed tango w/ tangobos and DMD separately. And the only way to make tangobos work was to install everything with DSSS. Except the latest DMD of course.I've been having some major issues for a long while now trying to install D. Much of it is because of my library choices, but I don't have a choice as to what libraries I need. I've been working to try and get a working installation of D on my Windows Vista workstation. Whether it's DMD or GDC I don't really care. My biggest problem is that I need Tango, Derelect, and DDBI. I've totally given up on finding an IDE by now. I've been following the instructions online to the letter (the ones on digitalmars.com) and they keep throwing me grief. The DInstaller project hasn't been good, since it installs everything to somewhere I can't find. I got DSSS working once, which was nice... but then when I tried to build a helloworld.d file it didn't work (tried using rebuild, which is what I would be building larger projects with). I can provide further documentation of what I've tried if you like, though it's really just me hitting wall after wall after wall. Thanks for your time, and thanks in advance for any pointers or help you can give!Here's what I do. 1) Install DMD and DMC from the .zip (DMC unzip first) as per instructions on the web. 2) Install latest stable tango release from the .zip on their page, overwrite necessary files. Tango is now installed. 3) Set up DSSS by unzipping in D:\dsss 4) Learn how to add dsss.exe, dmd.exe, dmc.exe to your PATH 5) Learn how to create dsss .conf files 6) Install ddbg, add to PATH http://ddbg.mainia.de/doc.html 7) Use 'cmd' prompt, type 'dsss build' to build your software. For an editor, I like DScite. 8) You should be good to go.
Feb 20 2008