raysan5 / raylib

A simple and easy-to-use library to enjoy videogames programming
http://www.raylib.com
zlib License
23.05k stars 2.3k forks source link

when compiling i get #3280

Closed espero-dev closed 1 year ago

espero-dev commented 1 year ago

raylib/src/rcore.c:4955:22: error: ‘eglGetProcAddress’ undeclared (first use in this function) 4955 | rlLoadExtensions(eglGetProcAddress); | ^~~~~

espero-dev commented 1 year ago

i fixed it i needed to add

include "external/glfw/src/internal.h" // Adds eglGetProcAddress

to rcore.c

just put that line of code under

include "raylib.h" // Declares module functions

espero-dev commented 1 year ago

i am now closing this issue