Author |
Message |
Topic: Big Changes Afoot |
Andrej08
Replies: 8
Views: 33381
|
Forum: Derelict Posted: Fri Feb 03, 2012 5:33 am Subject: Big Changes Afoot |
But in my experience, using them on a large scale negatively impacts compilation time.
Yeah, it might be an issue with large libs. One day DMD will have to get fast enough at compile-time so we d ... |
Topic: Big Changes Afoot |
Andrej08
Replies: 8
Views: 33381
|
Forum: Derelict Posted: Wed Feb 01, 2012 8:55 am Subject: Big Changes Afoot |
That's very nice, the new import system is especially welcome!
FWIW there are ways to eliminate having to write duplicate code in D2 (I'm referring to functions.d and the cast(void**) calls) . For ... |
Topic: $(ProjectName) seems to expand to $(SolutionName) |
Andrej08
Replies: 2
Views: 13191
|
Forum: Visual D Posted: Fri Aug 05, 2011 1:54 pm Subject: $(ProjectName) seems to expand to $(SolutionName) |
I can see the problem now. Even though the project has the name "lesson1" in the solution, the file on the disk was named "win32_VS2008.visualdproj".
If I rename it to "le ... |
Topic: $(ProjectName) seems to expand to $(SolutionName) |
Andrej08
Replies: 2
Views: 13191
|
Forum: Visual D Posted: Thu Aug 04, 2011 5:11 pm Subject: $(ProjectName) seems to expand to $(SolutionName) |
Using VD v0.3.24 and VShell 2008:
http://i.imgur.com/0ubNP.png
On my system building the lesson1 project builds this executable:
D:\dev\projects\DNeonHelium\VisualD\Release\win32_VS2008.exe
... |
Topic: Is the library search path used? |
Andrej08
Replies: 1
Views: 11212
|
Forum: Visual D Posted: Thu Aug 04, 2011 5:05 pm Subject: Is the library search path used? |
I've set a library search path but VisualD doesn't seem to use this.
Command line is:
dmd -g -debug -X -Xf"$(IntDir)\$(TargetName).json" -I..\Derelict2\import -I..\Samples\win32\ -versio ... |
Topic: Update to GtkSourceView 2.1.3? |
Andrej08
Replies: 27
Views: 58289
|
Forum: gtkD Posted: Fri Jul 29, 2011 6:18 pm Subject: Update to GtkSourceView 2.1.3? |
Some things I've noticed:
Clicking and holding the mouse on an unoccupied scrollbar position makes the scrollbar thumb reach it, but then it skips(!) it and goes all the way to the other max value. ... |
Topic: Update to GtkSourceView 2.1.3? |
Andrej08
Replies: 27
Views: 58289
|
Forum: gtkD Posted: Fri Jul 29, 2011 6:08 pm Subject: Update to GtkSourceView 2.1.3? |
I don't know why these files are still not installed via Gtk on Windows. But anyway for anyone wondering you can get the missing files from the GtkSourceView source archive:
http://projects.gnome.o ... |
Topic: import to cairo.ImageSurface missing from gtkD.d |
Andrej08
Replies: 1
Views: 8751
|
Forum: gtkD Posted: Fri Jul 29, 2011 5:13 pm Subject: import to cairo.ImageSurface missing from gtkD.d |
Add the following line to \gtkD\src\build\gtkD.d next to the other imports:
private import cairo.ImageSurface;
Otherwise bud/build won't build the cairo.ImageSurface module into GtkD.lib.
Fo ... |
Topic: WinAPI min/max |
Andrej08
Replies: 0
Views: 14899
|
Forum: Bindings Posted: Thu Jul 28, 2011 4:16 pm Subject: WinAPI min/max |
Can we get rid of these two from win32.windef:
template max(T) {
T max(T a, T b)
{
return a > b ? a : b;
}
}
template min ... |
Topic: Can't load SDL Image/SDL ttf on Linux |
Andrej08
Replies: 3
Views: 11450
|
Forum: Derelict Posted: Mon Jul 25, 2011 6:49 am Subject: Can't load SDL Image/SDL ttf on Linux |
Thanks, you were right about that. In fact LD_LIBRARY_PATH was empty. I assumed EXPORT would permanently add an environment variable, but it seems I was wrong after reading this: https://help.ubuntu.c ... |
Topic: Can't load SDL Image/SDL ttf on Linux |
Andrej08
Replies: 3
Views: 11450
|
Forum: Derelict Posted: Sun Jul 24, 2011 10:44 am Subject: Can't load SDL Image/SDL ttf on Linux |
Running Ubuntu 10.10, x86.
I've extracted SDL, SDL ttf and
andrej@andrej-VirtualBox:~/Desktop/dnehe/DNeonHelium/Samples$ ./lesson1
derelict.util.exception.SharedLibLoadException@derelict/util/ex ... |
Topic: Exceptions not thrown when using NaNs in OpenGL |
Andrej08
Replies: 2
Views: 9641
|
Forum: Derelict Posted: Mon Jul 11, 2011 10:31 am Subject: Exceptions not thrown when using NaNs in OpenGL |
Ok, no problem I'll post there. Thought it was something common. |
Topic: Exceptions not thrown when using NaNs in OpenGL |
Andrej08
Replies: 2
Views: 9641
|
Forum: Derelict Posted: Sun Jul 10, 2011 2:15 pm Subject: Exceptions not thrown when using NaNs in OpenGL |
I'm using DMD 2.053 on XP32. I've had two global floats which were not initialized before usage.
I've enabled all floating-point exceptions, but they don't seem to be triggered for NaNs:
GLfloat r ... |
Topic: WSAAsyncSelect has an invalid type |
Andrej08
Replies: 0
Views: 12204
|
Forum: Bindings Posted: Sun Jun 19, 2011 8:53 pm Subject: WSAAsyncSelect has an invalid type |
Line 707 in winsock2.d:
int WSAAsyncSelect(SOCKET, HWND, u_int, long);
should be:
int WSAAsyncSelect(SOCKET, HWND, u_int, int);
Can't link otherwise. long == int on Windows platforms.
I'm n ... |
Topic: new RC3 does not compile |
Andrej08
Replies: 3
Views: 21144
|
Forum: DFL Posted: Thu May 19, 2011 2:57 pm Subject: new RC3 does not compile |
This is probably caused by new CTFE fixes. I don't think it's a bug, it makes sense to declare a variable before using it, regardless if it's const or not. |
|