Questions tagged [derelict3]

A collection of dynamic D bindings to C libraries, useful for multimedia and game development.

A collection of dynamic D bindings to C libraries, useful for multimedia and game development.

These bindings are no longer being maintained by the author, which have been superseded by bindbc-sdl, bindbc-opengl, and bindbc-loader.

20 questions
1
vote
1 answer

Automatically copy dependencies in DUB for Derelict

I'm creating a Derelict application and apparently derelict needs the shared libraries to be in the root path. Is there a way to do this using DUB, without copying the files over manually into the ./bin folder? (Just have them get copied when…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
1
vote
2 answers

Derelict and GFW3

I'm trying to get Derelict3 to work with GLFW3 on Ubuntu 12.10. I've successfully built Derelict3 and glfw3 using DMD 2.061. Imports and links work. But it seems the API has changed since this article was written since I (case insensitively) can't…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

Why does this OpenGL code give no errors but print nothing to screen

To preface, I'm writing my OpenGL in D using Derelict. However, it should be almost the same as OpenGL with C++ as the function calls are identical. Regardless, I'm at a loss as to why my code will not print anything to the screen as my shader…
Bennet Leff
  • 376
  • 1
  • 4
  • 18
0
votes
1 answer

glGenVertexArrays() crashing DerelictGL3 program

The function calls glBindVertexArray(0), glGenVertexArrays(1, &vertex_array_object) and glBindVertexArray(vertex_array_object) cause my program to crash. When I run the code if(glGenVertexArrays == null) it evaluates true. This leads me to believe…
Bennet Leff
  • 376
  • 1
  • 4
  • 18
-1
votes
1 answer

Derelict Assimp not loading mesh properly? (Maybe index buffer)

I wrote a custom OBJ file importer which worked fairly well however was not robust enough to support everything. I've decided to give AssImp a shot. I followed some tutorials and have set up my code to read in the vertices, tex coords, normals,…
Bennet Leff
  • 376
  • 1
  • 4
  • 18
1
2