Timeline for undefined reference to `PPMintIn::PPMintIn(int)'
Current License: CC BY-SA 3.0
23 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 3, 2019 at 21:00 | history | edited | VE7JRO | edited tags | |
| Feb 18, 2016 at 8:39 | vote | accept | tisaconundrum | ||
| Aug 26, 2015 at 1:24 | vote | accept | tisaconundrum | ||
| Feb 18, 2016 at 8:39 | |||||
| Aug 24, 2015 at 22:07 | answer | added | Nick Gammon♦ | timeline score: 0 | |
| Aug 24, 2015 at 21:13 | comment | added | tisaconundrum | which doesn't make sense to me because the function allows for ints PPMintIn::PPMintIn(int pin){ pinMode(pin, INPUT);\ digitalWrite(pin, HIGH); _pin = pin; } | |
| Aug 24, 2015 at 21:12 | comment | added | tisaconundrum | I redid all of my code, and deleted a bunch of copies of the same library. Anyways, I'm getting less errors now. That should be a good thing but i'm getting this one error i.imgur.com/ZIhuule.png | |
| Aug 24, 2015 at 19:20 | comment | added | Majenko | Also you should take a look at this, it will tell you why you are getting some of your errors: arduino.stackexchange.com/questions/14480/… | |
| Aug 24, 2015 at 19:19 | comment | added | tisaconundrum | i.imgur.com/r0BSQD5.png | |
| Aug 24, 2015 at 19:18 | comment | added | Ignacio Vazquez-Abrams | It should be, right up until the IDE builds it. Then it copies everything into a single directory and builds it there. | |
| Aug 24, 2015 at 19:18 | comment | added | Majenko | Which version of the IDE are you using, and how did you create the library in the first place? | |
| Aug 24, 2015 at 19:17 | comment | added | Majenko | You need to watch your capitalization as well - the Arduino header file is Arduino.h not arduino.h and your main header file (ppmintin.h) must have the same capitalization as your library folder (PPMintIn.h). On operating systems with case sensitive filesystems it will completely break otherwise. | |
| Aug 24, 2015 at 19:17 | comment | added | tisaconundrum | why is my library sitting with my INO file, i thought it should be going into the libraries folder. | |
| Aug 24, 2015 at 19:15 | comment | added | Ignacio Vazquez-Abrams | Now the IDE is doing the right thing. However, your "PPMintIn" library itself has errors that need to be fixed. | |
| Aug 24, 2015 at 19:13 | comment | added | tisaconundrum | Well alright, i did what you suggested, This is the outcome i.imgur.com/W1gpqIh.png And when i export both the libraries to see what's inside, they are basically empty new libraries | |
| Aug 24, 2015 at 19:11 | comment | added | Ignacio Vazquez-Abrams | I'm not sure that you understand what "linking" is. Especially given that the errors posted towards the top of this question are link errors. | |
| Aug 24, 2015 at 19:10 | comment | added | tisaconundrum | the compiler does link to the library, however these libraries that it linked to are empty and have nothing in it. | |
| Aug 24, 2015 at 19:06 | comment | added | Ignacio Vazquez-Abrams | No, the compiler knows what you want. The IDE has no clue, so it doesn't include the libraries for compilation and linking. | |
| Aug 24, 2015 at 19:03 | comment | added | tisaconundrum | i.imgur.com/awwtHKj.png | |
| Aug 24, 2015 at 19:01 | comment | added | tisaconundrum | Looking for header file C:\Users\User\Documents\Arduino\RCRoomba_TestPulseV2\libraries\PinChangeInt\PinChangeInt.h Library.java 98 (<init>): Looking for header file :\Users\User\Documents\Arduino\RCRoomba_TestPulseV2\libraries\PPMintIn\PPMintIn.h it just scrolls through this forever | |
| Aug 24, 2015 at 19:00 | comment | added | tisaconundrum | because when i use the debug console included with IDE it can't find the files. It's only when i do the full paths, does it know what i want | |
| Aug 24, 2015 at 18:59 | comment | added | Ignacio Vazquez-Abrams | The IDE probably can't parse those full paths. Why are you using them instead of trusting that the IDE knows where the headers are? | |
| Aug 24, 2015 at 18:44 | review | First posts | |||
| Aug 24, 2015 at 20:39 | |||||
| Aug 24, 2015 at 18:40 | history | asked | tisaconundrum | CC BY-SA 3.0 |