tsoding / musializer

Music Visualizer
MIT License
921 stars 97 forks source link

closes #45 readdir, closedir, opendir static in nob.h #55

Closed davehorner closed 8 months ago

davehorner commented 11 months ago

raylib.lib(rcore.obj) link errors resolved via static definition in nob.h.

rexim commented 9 months ago

What's your environment? I built this project on Linux with gcc, mingw and on Windows with MSVC and I never had any linking errors anywhere...

rexim commented 8 months ago

Ok, I reproduced it with MSVC. Raylib 5.0 introduced their own compatibility layer for dirent. So the problem appeared after the Raylib update. This looks like a reasonable solution for now. Thanks!