cfoulc / cf

mod's and modules for VCV Rack
BSD 3-Clause "New" or "Revised" License
58 stars 16 forks source link

compile error with new includes for PLAYER #10

Closed phdsg closed 6 years ago

phdsg commented 6 years ago
src/PLAYER.cpp:7:10: fatal error: sys/dir.h: No such file or directory
 #include <sys/dir.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [../../compile.mk:54: build/src/PLAYER.cpp.o] Error 1

what's that include? maybe i can find the correct one for windows.

phdsg commented 6 years ago

okay. it's just in my mingw64

cfoulc commented 6 years ago

thx i'll try to get a solution to this

dBiz commented 6 years ago

Compiled on windows modifying

include , hope it helps ;)

cfoulc commented 6 years ago

thx also, it seems only "#include " is needed, so i took off dir.h and sys stuff : //#include <sys/dir.h>

include

//#ifndef WIN32 // #include <sys/types.h> //#endif i think/hope dirent.h is common to all systems. i still need to find solutions for end and beginning of folder and for not supported files while browsing. :)