Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
How do I add a compilation path to my workspace in VS Code?
-
Hello, why do I keep getting the errors in the screenshot posted below? I get the same error regardless on which file I try to compile. programs were compiling before, I might have messed with some settings
Additionally, how do I add .h files to my workspace path, so that I can include them in my .c files while I run and build. I have the files in a separate folder on my desktop which I found from the Spresense Github at the link below
https://github.com/sonydevworld/spresense-nuttxPlease advise, and thank you!
-
@Benediction-1-2
Regarding the includes, there is a Makefile inside your project file. You can set variables there. You should be able to add include paths. Can you try to add your include path here. Should be something like this.
# C compiler flags CFLAGS = -I/folder/to/include # C++ compiler flags CXXFLAGS =
Difficult to say what is messed up. If it worked before try reverting your latest changes or start over setting up your project. A guess: Did you rename anything?