April 22, 2013
On Sunday, 21 April 2013 at 19:49:14 UTC, Dementor561 wrote:
> Well, sorta. When I add import derelict.glfw3.glfw3; it says the library could not be resolved... Do I need to add something to the library somewhere?

Any library you use you have to add to the project linker settings. Derelict3 separates them into separate libraries so you aren't forced to include the entire thing if you don't need some pieces. Here's the include for glfw:

http://imgur.com/xv4jesK
April 22, 2013
On Monday, 22 April 2013 at 04:25:59 UTC, Roderick Gibson wrote:
> On Sunday, 21 April 2013 at 19:49:14 UTC, Dementor561 wrote:
>> Well, sorta. When I add import derelict.glfw3.glfw3; it says the library could not be resolved... Do I need to add something to the library somewhere?
>
> Any library you use you have to add to the project linker settings. Derelict3 separates them into separate libraries so you aren't forced to include the entire thing if you don't need some pieces. Here's the include for glfw:
>
> http://imgur.com/xv4jesK

Thanks!
April 22, 2013
On a side note, I have found a tutorial for Opengl... but it is very confusing and  is specifically for C++, does anyone know of better tutorials? Especially for D?
April 22, 2013
If you aren't comfortable with either C++ or D I would suggest to do the tutorials with C++, as there are no OpenGL tutorials for D. Don't try to learn two things at the same time.
April 22, 2013
On Monday, 22 April 2013 at 20:47:32 UTC, Minas Mina wrote:
> If you aren't comfortable with either C++ or D I would suggest to do the tutorials with C++, as there are no OpenGL tutorials for D. Don't try to learn two things at the same time.

No, I am comfortable with C++, I learned it in College. It is just that a lot of the names between the two different contexts confuse me. For example, I am looking to find the equivalent in Derelict3 for GLFW_FSAA_SAMPLES, but I can not find it anywhere.
April 23, 2013
On Monday, 22 April 2013 at 20:57:56 UTC, Dementor561 wrote:
> On Monday, 22 April 2013 at 20:47:32 UTC, Minas Mina wrote:
>> If you aren't comfortable with either C++ or D I would suggest to do the tutorials with C++, as there are no OpenGL tutorials for D. Don't try to learn two things at the same time.
>
> No, I am comfortable with C++, I learned it in College. It is just that a lot of the names between the two different contexts confuse me. For example, I am looking to find the equivalent in Derelict3 for GLFW_FSAA_SAMPLES, but I can not find it anywhere.

I don't know anything about glfw as I use the SDL bindings, but my experience with the SDL stuff is that it is identical to c/c++. I can very easily use c/c++ opengl and sdl source and tutorials to translate it into D. There are some gotchas, mostly with using references and pointers, but nothing terribly hard to figure out.
April 25, 2013
Today I found out I just wasnt using the correct DLLs.
1 2
Next ›   Last »