Author |
Message |
Topic: Windows 7 + DMD v2.053 |
RobotGymnast
Replies: 1
Views: 11604
|
Forum: DSSS Posted: Tue May 31, 2011 5:00 am Subject: Windows 7 + DMD v2.053 |
I'm running on 64-bit Windows 7 with DSSS 0.78 and DMD v2.053, and I'm getting issues.
I created a main.d:
import std.stdio;
void main()
{
writeln("Hello") ... |
Topic: Can't build Derelict2 (DMD v2.053, Windows 7 x64) |
RobotGymnast
Replies: 2
Views: 8226
|
Forum: Derelict Posted: Mon May 30, 2011 3:13 pm Subject: Can't build Derelict2 (DMD v2.053, Windows 7 x64) |
Great, that seems to have worked, thanks! |
Topic: Can't build Derelict2 (DMD v2.053, Windows 7 x64) |
RobotGymnast
Replies: 2
Views: 8226
|
Forum: Derelict Posted: Mon May 30, 2011 5:07 am Subject: Can't build Derelict2 (DMD v2.053, Windows 7 x64) |
I'm trying to get Derelict working, so I checked out the SVN branch and went into the main directory, then tried
C:\Users\Me\devl\Derelict2>dsss build
Creating imports for DerelictUtil
... |
Topic: target += $EXE_EXT causes problems on Ubuntu 64-bit |
RobotGymnast
Replies: 2
Views: 10927
|
Forum: DSSS Posted: Sat Apr 30, 2011 11:50 am Subject: target += $EXE_EXT causes problems on Ubuntu 64-bit |
What is $EXE_EXT? DSSS/rebuild will handle the executable extension for you, if that is what you're trying to do.
$EXE_EXT is documented in http://www.dsource.org/projects/dsss/wiki/DSSSForSoftware ... |
Topic: "Default prefix is unwritable" error |
RobotGymnast
Replies: 1
Views: 9190
|
Forum: DSSS Posted: Thu Apr 28, 2011 6:20 pm Subject: "Default prefix is unwritable" error |
I'm under Ubuntu 64-bit with DSSS 0.78. When building anything with DSSS, I get this at the top of my output:
Default prefix /usr is unwritable, using /home/me/d instead.
How do I fix this?
... |
Topic: target += $EXE_EXT causes problems on Ubuntu 64-bit |
RobotGymnast
Replies: 2
Views: 10927
|
Forum: DSSS Posted: Thu Apr 28, 2011 6:18 pm Subject: target += $EXE_EXT causes problems on Ubuntu 64-bit |
I'm in Ubuntu 10.04 64-bit, with DMD v2.052 and DSSS 0.78, and I can't build a very simple project.
main.d:
void main()
{
}
dsss.conf:
[main.d]
target = Simp ... |
Topic: Ubuntu/Debian repo? |
RobotGymnast
Replies: 0
Views: 17048
|
Forum: Site Posted: Mon Apr 25, 2011 11:19 am Subject: Ubuntu/Debian repo? |
Does dsource have an Ubuntu/Debian repo which contains all the project hosted here? |
Topic: Updating Derelict? |
RobotGymnast
Replies: 1
Views: 6700
|
Forum: Derelict Posted: Mon Apr 25, 2011 11:11 am Subject: Updating Derelict? |
I'm running in Ubuntu, and I'm hoping there's an easy way for me to automatically fetch and build updates to Derelict. Is there? |
Topic: Updating DSSS in Ubuntu? |
RobotGymnast
Replies: 0
Views: 8458
|
Forum: DSSS Posted: Mon Apr 25, 2011 11:00 am Subject: Updating DSSS in Ubuntu? |
I'm trying to find a way to get DSSS in a way that's easy to update, but I can't find one; there doesn't seem to be a package for Ubuntu. Is there a simple way to fetch and build/install DSSS updates? |
Topic: Exception thrown on program close |
RobotGymnast
Replies: 8
Views: 12495
|
Forum: Derelict Posted: Tue Jan 25, 2011 4:01 pm Subject: Exception thrown on program close |
Nested functions don't work with scoped-destruction objects, like scope classes or structs. A scope class may not be used in a closure, and all nested functions are closures. |
Topic: Exception thrown on program close |
RobotGymnast
Replies: 8
Views: 12495
|
Forum: Derelict Posted: Sun Jan 23, 2011 11:41 am Subject: Exception thrown on program close |
Unfortunately, that disables all use of delegates with those objects. I use delegates heavily with my objects. This isn't a problem in D as a whole, since letting garbage-collection take care of delet ... |
Topic: TTF_SizeText takes a char* instead of an immutable char* |
RobotGymnast
Replies: 8
Views: 13348
|
Forum: Derelict Posted: Sat Jan 22, 2011 9:41 am Subject: TTF_SizeText takes a char* instead of an immutable char* |
True, but isn't this a linear-time process? And a .dup of a string isn't null-terminated, is it? The whole reason I'm having this problem is that toStringz returns an immutable char* |
Topic: How to avoid command prompt popup? |
RobotGymnast
Replies: 5
Views: 8719
|
Forum: Derelict Posted: Sat Jan 22, 2011 9:39 am Subject: How to avoid command prompt popup? |
Really? I swear I've had this happen on my Gentoo box, but I may be remembering wrong.. it's been a while.
But won't the -L"-Subsystem:Windows" mess up other build regardless? |
Topic: TTF_SizeText takes a char* instead of an immutable char* |
RobotGymnast
Replies: 8
Views: 13348
|
Forum: Derelict Posted: Sat Jan 22, 2011 9:36 am Subject: TTF_SizeText takes a char* instead of an immutable char* |
Ah. It's just that the D compiler complains when trying to pass an immutable char*, so I have to explicitly cast away the immutable and hope that it won't mess anything up. |
Topic: TTF_SizeText takes a char* instead of an immutable char* |
RobotGymnast
Replies: 8
Views: 13348
|
Forum: Derelict Posted: Sat Jan 22, 2011 9:17 am Subject: TTF_SizeText takes a char* instead of an immutable char* |
It does matter. When I try to pass an immutable char* to TTF_SizeText, it gives me a compile-time error because it takes a char*. |
|