On Thursday, 29 July 2021 at 07:59:38 UTC, Ki wrote:
I tried to compile a new project with Raylib yesterday:
dub init => ... => dub add raylib-d.

My dub.json file does contain the "libs": ["raylib"] section, so the compiler links against raylib library. Then I built the project and got a linker error referencing a whole bunch of opengl, glfw functions.

Does anyone know what is the problem here?

I am a little puzzled on what to try next, but to build raylib myself from source (I use brew to manage packages).

It seems I need to link Cocoa and IOKit frameworks, but how do I tell this to DUB? I'm browsing the dub documentation and cannot find anything framework-related.

Reply via email to