jkent / frogfs

Fast Read-Only General-purpose File System (ESP-IDF and ESP8266_RTOS_SDK compatible)
https://frogfs.readthedocs.io
Mozilla Public License 2.0
25 stars 32 forks source link

Compile fail ESP32 IDF Eclipse plugin - PATH_MAX not defined #55

Closed GreyCon closed 6 months ago

GreyCon commented 6 months ago

Compile error on ESP32 IDF Eclipse plugin. This may be an error on my part, I'm still learning about this plugin and CMake in particular. I added your frogfs component as a managed component. I then moved it to just a normal component. Compilation fails for frogfs.c because PATH_MAX is undefined. I guess this is defined in Linux headers but not in ESP32 IDF ones. I can , of course, hack in a value - but what it the correct solution? Am excited to get this working, it's exactly what I need.

GreyCon commented 6 months ago

Apologies, it's the Eclipse Indexer once again causing trouble. The code is fine. Closing this now.