cannot open source file "AvailabilityMacros.h" (dependency of "M5EPD.h")
-
Hello,
Just started using Visual Studio Code with the PlatformIO extension to develop a simple app for m5paper starting from the online image sample.
https://github.com/m5stack/M5EPD_OnlineImage_FixUrlIf I try debugging, the code does not build:
cannot open source file "AvailabilityMacros.h" (dependency of "M5EPD.h")Any idea where is this library?
Any help is appreciated,
Gionata -
@gionata said in cannot open source file "AvailabilityMacros.h" (dependency of "M5EPD.h"):
AvailabilityMacros.h
AvailabilityMacros.h is a file by Apple. It looks like it's provided by Xcode. Do you have Xcode installed?
-
In Mac Terminal, type
xcrun --show-sdk-path
to get the XCode SDK path.Add the path using the
-Ioption and additional/usr/include/**to the build_flags option in platformio.inieg.
build_flags = -I /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/**found solution on some japanese blog
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login