Open ghost opened 2 years ago
There is no main.ino, itis a balance_buddy.ino which is what you should be opening.
Opening this file should bring up all the other .cpp files in the root directory. Do you have them all there?
Also what version of arduino ide are you using?
version 1.8.19
It also does not work in the online IDE
I think I had issues with the windows store version, and i dunno about file linking in the online version, arduino ide is way too picky. Try using the one from here.
It didnt work either
Do you have those files present?
You cold alternatively download that library through the arduino ide and include it the standard way.
i download the folder as a zip, i unzip it, then i open balance buddy in the ide, then i add the .cpp files, idk what i am doing wrong there.
How are you adding the cpp files?
also it seems you downloaded an hourly build, would be better if you used the latest stable version of the ide 1.8.19. I just tested it on this version and have no issues.
I add them by clicking the sketchtab and clicking Add file
That's odd, I didn't even know that button exists. If you open the project properly, it should find all the included files on it's own. If you have to manually add files, then its not surprising it cant find the nested ones in the src directory.
Make sure you have all the files in the repo in their own directory, with no other files. Then run balance_buddy.ino which should open arduino ide with all the required files. It should show all the root directory files, but not the ones in src, however it will know about them and compile.
Yea, I tried unzipping the folder, then open the .ino, and compile, same error. not sure what is wrong
Sorry, I'm all out of suggestions. You're the only one I've heard of with this issue. Something is weird about your IDE setup.
You could modify the code to use the Library Manager version of the libraries, and even merge all the code into a single file, if that's what it takes. But it sounds like that is out of your familiarity zone.
Ill leave the issue open in case you or someone else gets more info on this issue.
@otisthebigcow try renaming the folder to balance_buddy. Remove the -main. Its what fixed my compiling issues. I was having the same problem just different section.
I opened the main.ino in the ide and i go to compile and it recieves an error.
@Mitchlol