Author |
Message |
Topic: Function existence testing |
QueChatosComRegistos
Replies: 5
Views: 8393
|
Forum: Derelict Posted: Tue Oct 16, 2007 12:30 pm Subject: Function existence testing |
That's why when you do a DerelictGL.loadVersions, or load the highest available via DerelictGL.availableVersion, you should always check the version that was actually loaded before using any functio ... |
Topic: ogg and vorbis DLLs |
QueChatosComRegistos
Replies: 0
Views: 3775
|
Forum: Derelict Posted: Mon Oct 15, 2007 5:02 pm Subject: ogg and vorbis DLLs |
I am trying to decode a .ogg file and I am using the derelict bindings. However, I required the DLLs for those functions. Since I do not have a way to compile them from source, I tried to find the pre ... |
Topic: Function existence testing |
QueChatosComRegistos
Replies: 5
Views: 8393
|
Forum: Derelict Posted: Mon Oct 15, 2007 4:59 pm Subject: Function existence testing |
Ah, i discovered the TRUE error (the bug I found was just a lucky coincidence). Apparently my OpenGL version is 1.2 and only has glMultTexCoord via extension, so after a Derelict.loadExtensions() I ca ... |
Topic: Function existence testing |
QueChatosComRegistos
Replies: 5
Views: 8393
|
Forum: Derelict Posted: Thu Oct 11, 2007 1:35 pm Subject: Function existence testing |
I'm currently testing for availability of GL functions using the following code:
if (glFunction is null) //Function is unavailable on this implementation
I do not know if this is valid for other ... |
Topic: Reply |
QueChatosComRegistos
Replies: 0
Views: 3702
|
Forum: Derelict Posted: Tue Oct 02, 2007 2:56 pm Subject: Reply |
Ah, that should explain it.
Sorry for your trouble.
Keep up the excellent work! |
Topic: Ported derelict to DMD 2.0... |
QueChatosComRegistos
Replies: 10
Views: 16661
|
Forum: Derelict Posted: Tue Oct 02, 2007 12:05 pm Subject: Compile error |
I just switched to DMD 2.004 and derelict doesn't compile. The error follows:
derelict\util\loader.d(222): Error: cannot implicitly convert expression ("") of ty ... |
Topic: DerelictLUA? |
QueChatosComRegistos
Replies: 2
Views: 5730
|
Forum: Derelict Posted: Mon Sep 10, 2007 6:42 pm Subject: DerelictLUA? |
On my project, I'm thinking of adding a script interpreter to implement scripted game actions such as camera movements, character actions and maybe AI so I thought of LUA.
Reading the requirements do ... |
Topic: derelict and D2.0 |
QueChatosComRegistos
Replies: 7
Views: 11772
|
Forum: Derelict Posted: Mon Jul 09, 2007 1:32 pm Subject: derelict and D2.0 |
there is no -v1 switch in D2.x
But there is -version=1
Can we compile Derelict using this feature? |
Topic: derelict and D2.0 |
QueChatosComRegistos
Replies: 7
Views: 11772
|
Forum: Derelict Posted: Mon Jul 09, 2007 12:34 pm Subject: derelict and D2.0 |
But can it be compiled with the "-v1" (DMD2)? |
Topic: It works with build, but not with dmd |
QueChatosComRegistos
Replies: 9
Views: 13151
|
Forum: Derelict Posted: Mon Apr 23, 2007 2:08 pm Subject: It works with build, but not with dmd |
You have to order DMD to link with the libs. You do that by passing -I[path_to_libs] and -I[path_to_derelict]
In my computer:
dmd prog.d -Ic:\dmd\libs -Ic:\dmd\src\ext |
Topic: DerelictIL.load() - Access Violation |
QueChatosComRegistos
Replies: 4
Views: 8495
|
Forum: Derelict Posted: Mon Apr 23, 2007 11:03 am Subject: DerelictIL.load() - Access Violation |
Sorry for the late reply, I was abroad. The problem was solved by placing the DerelictIL.load() on the main(). Other loaders however can be placed on the static constructor.
I suspect that I cannot ... |
Topic: DerelictIL.load() - Access Violation |
QueChatosComRegistos
Replies: 4
Views: 8495
|
Forum: Derelict Posted: Fri Apr 20, 2007 9:49 am Subject: DerelictIL.load() - Access Violation |
When I try to load DerelictIL, I have an access violation. Even without other calls to DevIL (such as ilInit());
static this()
{
DerelictGL.load();
DerelictGLU.load();
DerelictSDL.l ... |
Topic: Undefined symbol |
QueChatosComRegistos
Replies: 1
Views: 5380
|
Forum: Derelict Posted: Thu Nov 23, 2006 2:32 pm Subject: Undefined symbol |
I'm attempting to run the DMedia tutorials but I steped into a problem:
On the linking step:
Error 42: Symbol Undefined _D8derelict6opengl2gl10DerelictGL4loadFAaZv
--- errorlevel 1
... |
Topic: Not building on Windows. Different problems |
QueChatosComRegistos
Replies: 3
Views: 9280
|
Forum: Build Posted: Thu Nov 23, 2006 2:27 pm Subject: Solved the problem |
Well I copied everything inside the folder "phobos" of the DMD to the "trunk" and everything compiled no problem.
Thanks guys, your help was priceless!!! |
Topic: Not building on Windows. Different problems |
QueChatosComRegistos
Replies: 3
Views: 9280
|
Forum: Build Posted: Thu Nov 23, 2006 11:54 am Subject: Advances! |
I thought of changing the order in which I present the commands... it appears that it works!
C:\dmd\trunk>dmd -IC:\dmd\src\phobos\ -run buildme.d release
Scanning for buildable pack ... |
|