Timeline for Newbie has difficulty compiling unedited svn Arduino code that should work
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 6, 2014 at 19:36 | answer | added | Visual Micro | timeline score: 1 | |
| Oct 2, 2014 at 23:40 | comment | added | Jasmine | This is really ambitious for a first project. Do yourself a favor and go through the basic tutorials before you start frying components. Learning how to include libraries properly is something you will pick up if you go through the basics. Arduino isn't "safe" - it's easy to fry the Arduino and easy to melt components too. | |
| Oct 2, 2014 at 19:48 | history | migrated | from stackoverflow.com (revisions) | ||
| Sep 10, 2014 at 15:13 | comment | added | coderRed | @Mahmood I found that the issue was that I wasn't using the IDE to include all the libraries so it wasn't seeing any of the references. After including all of the relevant libraries I finally got it to compile. Thanks so much! | |
| Sep 10, 2014 at 14:54 | comment | added | Mahmood | I guess you are missing some files in the library of your installation of IDE. Because these files seems to be libraries. Does you ide works perfectly? Is it your first program you are testing? try something other working one. | |
| Sep 10, 2014 at 14:41 | comment | added | coderRed | #include "menu.h" #include "c++.h" In file included from AP_Common.cpp:16: /AP_Common.h:38:35: error: c++.h: No such file or directory What's weird is that menu.h and c++.h exist in the same location, yet menu is included fine. | |
| Sep 10, 2014 at 14:40 | comment | added | Mahmood | which file? name the file I will see | |
| Sep 10, 2014 at 14:37 | comment | added | coderRed | @Mahmood I only have one more error. One of my include statements is failing, even though the file is indeed in the same directory. Another file is referenced the same exact way, yet it can't see this one particular file. | |
| Sep 10, 2014 at 14:36 | comment | added | coderRed | @Mahmood adding "#include "BetterStream.h" did work to get rid of all those errors after I went and found a copy of BetterStream.h. Thanks! | |
| Sep 10, 2014 at 14:25 | comment | added | Mahmood | add #include"BetterStream" if it works. tell me | |
| Sep 10, 2014 at 14:22 | comment | added | coderRed | @Mahmood I'm using Arduino IDE 1.0.5-r2 . It's not my own code. All of the code is at the link at the bottom, though I'll look for a main. I believe I was told to look for setup and loop to determine the ino to compile, which is in ArduCAM_OSD.ino . | |
| Sep 10, 2014 at 14:19 | comment | added | Mahmood | add #include<BetterStream> before the class definition | |
| Sep 10, 2014 at 14:13 | comment | added | Mahmood | is it your complete class? you have not included ´BetterStream` and you are inheriting it. | |
| Sep 10, 2014 at 14:11 | comment | added | Mahmood | Is it your own code? I guess you have not properly imported the complete project. This is just a class. where are other files? the main? Or may be you have not properly installed the compiler of this IDE. Which IDE is this? | |
| Sep 10, 2014 at 14:06 | history | asked | coderRed | CC BY-SA 3.0 |