Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with VS Code Platform.io #1

Open
dwherring opened this issue Dec 13, 2023 · 2 comments
Open

Build fails with VS Code Platform.io #1

dwherring opened this issue Dec 13, 2023 · 2 comments

Comments

@dwherring
Copy link

When I attempt to build using Visual Studio Code Version: 1.85.0, Platform.io Core 6.1.11·Home 3.4.4 I see the following build failure:

Scanning dependencies...
Dependency Graph
|-- SensESP @ 2.7.0
Error: Nothing to build. Please put your source code files to the '/Users/dherring/work/sense/SensESP-blackwater-tank-sensor-array/src' folder

It appears the toolchain I'm using requires main.cpp to be in the src directory. I'll submit a pull request for consideration in hopes that is helpful here.

@Techstyleuk : I should mention that having made the changes I'll submit for your consideration I was able to fully replicate the results you demonstrate in the very helpful youtube video.

@dwherring
Copy link
Author

@Techstyleuk as expected I do not have access rights to push a branch to generate a PR. I don't know if you want to consider granting that or if you'd want my proposed changes in some other way. Basically I added the src directory, moved main.cpp there and added more content to the .gitignore file, nothing very exotic. Cheers.

@Techstyleuk
Copy link
Owner

@dwherring yes, I didn't include the full project but just the Main.ccp and platformio.ini and after you have downloaded the #https://github.com/SensESP/SensESP-project-template you simply swap out the two files, but mian.ccp does go in the src directory. I will add that to the description - thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants