Forum Rule: Always post complete source code & details to reproduce any issue!
-
Working Sketch not compiling on new computer - Arduino /Teensy 3.1

Originally Posted by
fretless_kb
very cool video, thanks! Kb
Hello,
I had to format my hard drive and after re-installation of all programs inclusive Arduino my sketch which was operational is now hanging - not compiling due to "class TS_Point" Adafruit_STMPE610.h and I am getting this errors:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 + Td: 1.24 (Windows 7), Board: "Teensy 3.1"
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
Can someone give me a tip !?
Thanks,
Mike
-
Senior Member+
Compile blink or some other sketches to make sure all is well with your install.
Open a new thread for this so your question doesn't get lost for you or others with a similar problem.
If you have a small code sample that reproduces the problem, post that in the new thread for your issue.
Note if you searched the forum fir similar issues.
-
Working Sketch not compiling on new computer - Arduino /Teensy 3.1
Hello,
I had to format my hard drive and after re-installation of all programs inclusive Arduino my sketch which was operational is now hanging - not compiling due to "class TS_Point" Adafruit_STMPE610.h and I am getting this errors:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 + Td: 1.24 (Windows 7), Board: "Teensy 3.1"
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from SplashScreen.h:8:0,
from PID_ReflowBtmpV10.ino:19:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
Can someone help here or give me a tip !?
Thanks,
Mike
-
The file Adafruit_STMPE610.h is included from to many places, and it lacks a #ifdef Adafruit_STMPE610_h type guard against multiple inclusions.
Try to only include Adafruit_STMPE610.h from your sketch PID_ReflowBtmpV10.ino and not from any of your SplashScreen.h and similar.
-
Hello Mlu,
I commented out Adafruit_STMPE610.h from SplashScreen.h and I get:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 + Td: 1.24 (Windows 7), Board: "Teensy 3.1"
In file included from PID_ReflowBtmpV10.ino:19:0:
SplashScreen.h:19: error: 'Adafruit_STMPE610' has not been declared
SplashScreen(int, int, ILI9341_t3*, Adafruit_STMPE610*);
^
SplashScreen.h:26: error: 'Adafruit_STMPE610' does not name a type
Adafruit_STMPE610* ptr_ctp;
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Button.h:8:0,
from PID_ReflowBtmpV10.ino:21:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from Graph.h:8:0,
from PID_ReflowBtmpV10.ino:22:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: redefinition of 'class TS_Point'
class TS_Point {
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:116:7: error: previous definition of 'class TS_Point'
class TS_Point {
^
In file included from PID_ReflowBtmpV10.ino:25:0:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: redefinition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
In file included from Screensaver.h:8:0,
from PID_ReflowBtmpV10.ino:20:
C:\Users\MarjanHome\Documents\Arduino\libraries\Ad afruit_STMPE610/Adafruit_STMPE610.h:127:7: error: previous definition of 'class Adafruit_STMPE610'
class Adafruit_STMPE610{
^
PID_ReflowBtmpV10:45: error: no matching function for call to 'SplashScreen::SplashScreen(int, int, ILI9341_t3*, Adafruit_STMPE610*)'
PID_ReflowBtmpV10.ino:45:58: note: candidates are:
In file included from PID_ReflowBtmpV10.ino:19:0:
SplashScreen.h:19:5: note: SplashScreen::SplashScreen(int, int, ILI9341_t3*, int*)
SplashScreen(int, int, ILI9341_t3*, Adafruit_STMPE610*);
^
SplashScreen.h:19:5: note: no known conversion for argument 4 from 'Adafruit_STMPE610*' to 'int*'
SplashScreen.h:17:7: note: constexpr SplashScreen::SplashScreen(const SplashScreen&)
class SplashScreen {
^
SplashScreen.h:17:7: note: candidate expects 1 argument, 4 provided
SplashScreen.h:17:7: note: constexpr SplashScreen::SplashScreen(SplashScreen&&)
SplashScreen.h:17:7: note: candidate expects 1 argument, 4 provided
I tried to run test sketch from Examples/Teensy /Tutorial /Blink & it works normal...
Any other tips ?
Thanks,
Mike
-
Without knowing where the includes of Adafruit_STMPE610.h are located exactly its hard to tell, but the error messages form the first post are clear, the library is included multiple times.
-
Easiest thing to do would be to edit Adafruit_STMPE610.h and at the top of the file add this:
Code:
#ifndef Adafruit_STMPE610_h
#define Adafruit_STMPE610_h
and at the bottom of the file add
Pete
-
Hello Pete,
I have this Code included from start :
#ifndef SPLASHSCREEN_h
#define SPLASHSCREEN_h
#include "ILI9341_t3.h"
#include "Adafruit_STMPE610.h"
#include "Configuration.h"
#ifndef Adafruit_STMPE610_h
#define Adafruit_STMPE610_h
// Array of points which comprise the MM logo
static const uint8_t MM[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xB9, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x31, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
class SplashScreen {
public:
SplashScreen(int, int, ILI9341_t3*, Adafruit_STMPE610*);
void drawMe(void);
private:
int xLoc;
int yLoc;
ILI9341_t3* ptr_tft;
Adafruit_STMPE610* ptr_ctp;
};
#endif // SPLASHSCREEN_h
Mike
-
Mlu - can you contact me at mike.menci (at) gmail.com - I can send you Zip complete file if you can compile it ?
Thanks,
Mike
-
I repeat the comment from #2 but make sure to include Adafruit_STMPE610.h from your sketch PID_ReflowBtmpV10.ino BEFORE you include SplashScreen.h and similar so that the STMPE610 stuff is defined when SplashScreen.h is read, then you shouldnt have to include it from SplashScreen.h
-
Senior Member
Maybe try Arduino 1.6.5.
You'll probably hit the same error, but 1.6.5 prints much more useful info about library conflicts. You're using 1.0.6, before those improvements were added. Even if you really need 1.0.6 for something, please at least give 1.6.5 a try. It'll probably give you info about the conflict, and when you clear up the problem, maybe it'll magically work on 1.0.6 too?
-
This worked fine:
I edited Adafruit_STMPE610.h and at the top of the file add this:
Code:
#ifndef Adafruit_STMPE610_h
#define Adafruit_STMPE610_h
and at the bottom of the file add
Code:
#endif
Thanks guys and sorry for trouble coursed !
Have a great weekend
Mike
-
Adafruit_STMPE610.h library file !!
-
I edited LIBRARY FILE - Adafruit_STMPE610.h and at the top of the file add this:
Code:
#ifndef Adafruit_STMPE610_h
#define Adafruit_STMPE610_h
and at the bottom of the file add
Code:
#endif
I will upgrade now to 1.6.5 to keep Paul happy !! :-)
Thanks guys and sorry for trouble coursed !
Have a great weekend
Mike
-
I edited LIBRARY FILE - Adafruit_STMPE610.h and at the top of the file add this:
Code:
#ifndef Adafruit_STMPE610_h
#define Adafruit_STMPE610_h
and at the bottom of the file add
Code:
#endif
I will upgrade now to 1.6.5 to keep Paul happy !! :-)
But if I get stacked - Paul will not have a good weekend!
Thanks guys and sorry for trouble coursed !
Have a great weekend
Mike
-
Senior Member
I'm backporting the duplicate library message to Arduino 1.0.6. Until now, it's only existed in Arduino 1.6.3 and later.
Starting with Teensyduino 1.25, this helpful message will advise of library conflicts for people still using Arduino 1.0.6.
https://github.com/PaulStoffregen/Ar...eb5570c6464d08
-
Hello Paul,
Here the summary after I got read of error / comiling =working on 1.05 and upgrade to 1.6.5 gives me;
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\Graph.cpp: In member function 'float Graph:
lotLine(float, float)':
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\Graph.cpp:121:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
PID_ReflowBtmpFinal0.ino: In function 'void setup()':
PID_ReflowBtmpFinal0.ino:81:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:100:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void bmpDraw(char*, uint8_t, uint16_t)':
PID_ReflowBtmpFinal0.ino:126:40: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
PID_ReflowBtmpFinal0.ino: In function 'void loop()':
PID_ReflowBtmpFinal0.ino:219:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void settings()':
PID_ReflowBtmpFinal0.ino:295:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:296:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:297:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void beginReflow()':
PID_ReflowBtmpFinal0.ino:319:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\SplashScreen.cpp: In member function 'void SplashScreen::drawMe()':
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\SplashScreen.cpp:17:10: warning: unused variable 'color0' [-Wunused-variable]
int16_t color0 = ptr_tft->color565( 125, 204, 204); //?? color /
^
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\SplashScreen.cpp:33:20: warning: iteration 180u invokes undefined behavior [-Waggressive-loop-optimizations]
if ((MM[i*23+j]&(1<<k))>0){
^
C:\Users\MARJAN~1\AppData\Local\Temp\build26473483 61504967730.tmp\SplashScreen.cpp:28:2: note: containing loop
for (int i = 0; i < 188; i+=1){
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'bool Button::isPressed()':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:123:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pressedStartTime!=-1 && !triggeredHoldEvent)
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'bool Button::held(unsigned int)':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:179:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pressedStartTime!=-1 && !triggeredHoldEvent)
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'unsigned int Button::holdTime() const':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:271:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
unsigned int Button::holdTime() const { if (pressedStartTime!=-1) { return millis()-pressedStartTime; } else return 0; }
^
C:\Program Files\Arduino\hardware\teensy\avr\libraries\Adafru it_STMPE610\Adafruit_STMPE610.cpp: In member function 'uint16_t Adafruit_STMPE610::readRegister16(uint8_t)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\Adafru it_STMPE610\Adafruit_STMPE610.cpp:312:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x;
^
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\Sd2Card.cpp: In member function 'uint8_t Sd2Card::readData(uint32_t, uint16_t, uint16_t, uint8_t*)':
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\Sd2Card.cpp:470:12: warning: unused variable 'n' [-Wunused-variable]
uint16_t n;
^
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\Sd2Card.cpp: At global scope:
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\Sd2Card.cpp:145:13: warning: 'void spiSend(const uint8_t*, size_t)' defined but not used [-Wunused-function]
static void spiSend(const uint8_t* output, size_t len) {
^
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\SdFile.cpp: In member function 'uint8_t SdFile::rmRfStar()':
C:\Users\MarjanHome\Documents\Arduino\libraries\SD \utility\SdFile.cpp:899:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (curPosition_ != (32*(index + 1))) {
^
Opening Teensy Loader...
Multiple libraries were found for "ILI9341_t3.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\IL I9341_t3
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3
Multiple libraries were found for "SD.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\SD
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\SD
Sketch uses 65,056 bytes (24%) of program storage space. Maximum is 262,144 bytes.
Global variables use 6,724 bytes (10%) of dynamic memory, leaving 58,812 bytes for local variables. Maximum is 65,536 bytes.
A lot of cleaning here to do...
Mike
-
Senior Member
Did you notice this part?

Originally Posted by
Mike_58
Multiple libraries were found for "ILI9341_t3.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\IL I9341_t3
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3
Multiple libraries were found for "SD.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\SD
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\SD
Arduino is using libraries from C:\Users\MarjanHome\Documents\Arduino\libraries, which are copies you've manually installed.
It's *not* using the known-good copies Teensyduino put into C:\Program Files\Arduino\hardware\teensy\avr\libraries.
-
Senior Member
But also notice, ALL of that stuff you posted is just warnings. There are NO ACTUAL ERRORS. The code compiled.
Sure, there are lots of warnings.... and again, that's all issues with the code you installed, not the vetted libraries Teensyduino provides.
-
Hello,
Yes I did- If I delete this libraries from C:\Users\MarjanHome\Documents\Arduino\libraries\
********************
Multiple libraries were found for "ILI9341_t3.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\IL I9341_t3
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3
Multiple libraries were found for "SD.h"
Used: C:\Users\MarjanHome\Documents\Arduino\libraries\SD
Not used: C:\Program Files\Arduino\hardware\teensy\avr\libraries\SD
********************
my sketch will not compile - why ?
Mike
-
Do I need to add this to my sketch ?
Mike
-

Originally Posted by
Mike_58
Do I need to add this to my sketch ?
Mike
Mike, can you create new thread. As you may realize from the title this thread is about a future version of Teensy.
Thanks
-
Paul,
With added libraries to sketch - not compiling at all:
Arduino: 1.6.5 (Windows 7), TD: 1.24, Board: "Teensy 3.1, Serial, 96 MHz optimized (overclock), US English"
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\Graph.cpp: In member function 'float Graph:
lotLine(float, float)':
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\Graph.cpp:121:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
PID_ReflowBtmpFinal0.ino: In function 'void setup()':
PID_ReflowBtmpFinal0.ino:74:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:93:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void bmpDraw(char*, uint8_t, uint16_t)':
PID_ReflowBtmpFinal0.ino:119:40: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
PID_ReflowBtmpFinal0.ino: In function 'void loop()':
PID_ReflowBtmpFinal0.ino:212:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void settings()':
PID_ReflowBtmpFinal0.ino:288:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:289:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino:290:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PID_ReflowBtmpFinal0.ino: In function 'void beginReflow()':
PID_ReflowBtmpFinal0.ino:312:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SplashScreen.cpp: In member function 'void SplashScreen::drawMe()':
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SplashScreen.cpp:17:10: warning: unused variable 'color0' [-Wunused-variable]
int16_t color0 = ptr_tft->color565( 125, 204, 204); //?? color /
^
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SplashScreen.cpp:33:20: warning: iteration 180u invokes undefined behavior [-Waggressive-loop-optimizations]
if ((MM[i*23+j]&(1<<k))>0){
^
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SplashScreen.cpp:28:2: note: containing loop
for (int i = 0; i < 188; i+=1){
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'bool Button::isPressed()':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:123:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pressedStartTime!=-1 && !triggeredHoldEvent)
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'bool Button::held(unsigned int)':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:179:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pressedStartTime!=-1 && !triggeredHoldEvent)
^
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp: In member function 'unsigned int Button::holdTime() const':
C:\Users\MarjanHome\Documents\Arduino\libraries\Bu tton\Button.cpp:271:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
unsigned int Button::holdTime() const { if (pressedStartTime!=-1) { return millis()-pressedStartTime; } else return 0; }
^
C:\Program Files\Arduino\hardware\teensy\avr\libraries\Adafru it_STMPE610\Adafruit_STMPE610.cpp: In member function 'uint16_t Adafruit_STMPE610::readRegister16(uint8_t)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\Adafru it_STMPE610\Adafruit_STMPE610.cpp:312:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x;
^
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::getRotation()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:31: multiple definition of `ILI9341_t3::ILI9341_t3(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:31: first defined here
c:/program files/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::getRotation()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:31: multiple definition of `ILI9341_t3::ILI9341_t3(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:31: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `SPCRemulation::setMISO(unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:49: multiple definition of `ILI9341_t3::setAddrWindow(unsigned short, unsigned short, unsigned short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:49: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::waitFifoNotFull()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:57: multiple definition of `ILI9341_t3:
ushColor(unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:57: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::waitFifoNotFull()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:63: multiple definition of `ILI9341_t3::drawPixel(short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:63: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawFastVLine(short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:75: multiple definition of `ILI9341_t3::drawFastVLine(short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:75: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawFastHLine(short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:90: multiple definition of `ILI9341_t3::drawFastHLine(short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:90: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillRect(short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:111: multiple definition of `ILI9341_t3::fillRect(short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:111: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillScreen(unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:105: multiple definition of `ILI9341_t3::fillScreen(unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:105: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setRotation(unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:143: multiple definition of `ILI9341_t3::setRotation(unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:143: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::invertDisplay(bool)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:173: multiple definition of `ILI9341_t3::invertDisplay(bool)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:173: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::readcommand8(unsigned char, unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:210: multiple definition of `ILI9341_t3::readcommand8(unsigned char, unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:210: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::readPixel(short, short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:265: multiple definition of `ILI9341_t3::readPixel(short, short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:265: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::readRect(short, short, short, short, unsigned short*)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:299: multiple definition of `ILI9341_t3::readRect(short, short, short, short, unsigned short*)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:299: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::writeRect(short, short, short, short, unsigned short*)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:344: multiple definition of `ILI9341_t3::writeRect(short, short, short, short, unsigned short*)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:344: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::begin()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:385: multiple definition of `ILI9341_t3::begin()'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:385: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawCircle(short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:483: multiple definition of `ILI9341_t3::drawCircle(short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:483: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawCircleHelper(short, short, short, unsigned char, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:517: multiple definition of `ILI9341_t3::drawCircleHelper(short, short, short, unsigned char, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:517: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillCircleHelper(short, short, short, unsigned char, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:560: multiple definition of `ILI9341_t3::fillCircleHelper(short, short, short, unsigned char, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:560: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillCircle(short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:553: multiple definition of `ILI9341_t3::fillCircle(short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:553: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawLine(short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:593: multiple definition of `ILI9341_t3::drawLine(short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:593: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawRect(short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:681: multiple definition of `ILI9341_t3::drawRect(short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:681: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawRoundRect(short, short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:693: multiple definition of `ILI9341_t3::drawRoundRect(short, short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:693: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillRoundRect(short, short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:708: multiple definition of `ILI9341_t3::fillRoundRect(short, short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:708: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawTriangle(short, short, short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:720: multiple definition of `ILI9341_t3::drawTriangle(short, short, short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:720: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::fillTriangle(short, short, short, short, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:729: multiple definition of `ILI9341_t3::fillTriangle(short, short, short, short, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:729: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawBitmap(short, short, unsigned char const*, short, short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:806: multiple definition of `ILI9341_t3::drawBitmap(short, short, unsigned char const*, short, short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:806: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::drawChar(short, short, unsigned char, unsigned short, unsigned short, unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:839: multiple definition of `ILI9341_t3::drawChar(short, short, unsigned char, unsigned short, unsigned short, unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:839: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::write(unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:819: multiple definition of `ILI9341_t3::write(unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:819: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setCursor(short, short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:960: multiple definition of `ILI9341_t3::setCursor(short, short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:960: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setTextSize(unsigned char)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:965: multiple definition of `ILI9341_t3::setTextSize(unsigned char)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:965: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setTextColor(unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:971: multiple definition of `ILI9341_t3::setTextColor(unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:971: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setTextColor(unsigned short, unsigned short)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:975: multiple definition of `ILI9341_t3::setTextColor(unsigned short, unsigned short)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:975: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::setTextWrap(bool)':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:980: multiple definition of `ILI9341_t3::setTextWrap(bool)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:980: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o: In function `ILI9341_t3::getRotation()':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\ILI934 1_t3/ILI9341_t3.cpp:985: multiple definition of `ILI9341_t3::getRotation()'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o:C:\Users\MARJAN~1 \AppData\Local\Temp\build2552613943067761079.tmp/ILI9341_t3.cpp:985: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3\ILI9341_t3.cpp.o
.rodata._ZTV10ILI9341_t3+0x0): multiple definition of `vtable for ILI9341_t3'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\ILI9341_t3.cpp.o
.rodata._ZTV10ILI9341_t3+0x0): first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SD\SD.cpp.o: In function `Sd2Card':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\SD/SD.cpp:235: multiple definition of `callback_pathExists(SdFile&, char*, bool, void*)'
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SD.cpp.o:C:\Users\MARJAN~1\AppData \Local\Temp\build2552613943067761079.tmp/SD.cpp:234: first defined here
C:\Users\MARJAN~1\AppData\Local\Temp\build25526139 43067761079.tmp\SD\SD.cpp.o: In function `SdFile':
C:\Program Files\Arduino\hardware\teensy\avr\libraries\SD/SD.cpp:258: multiple definition of `callback_makeDirPath(SdFile&, char*, bool, void*
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Mike
-
Senior Member+
MIKE!
AGAIN: PLEASE... open a new Thread.
Moderator edit: all the posts were moved to the correct thread
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules