PDA

View Full Version : Teensy 3 & SD cardinfo compilation errors



pxgator
08-08-2013, 09:05 PM
Hi all,

When I try compiling the cardinfo example I get the following errors:

C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error:
cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

Using teensyduino 1.15 with arduino 1.0.5. Any ideas on how to fix this ?

pxgator
08-09-2013, 04:43 AM
Actually I'm getting a large list of errors. Here is the complete list:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.5 (Windows 7), Board: "Teensy 3.0"
In file included from C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2Card.h:26:0,
from C:\Users\Paul\Documents\Arduino\libraries\SD/utility/SdFat.h:27,
from C:\Users\Paul\Documents\Arduino\libraries\SD/SD.h:24,
from CardInfo.pde:22:
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization
C:\Users\Paul\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:312:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

pxgator
08-09-2013, 06:10 PM
Well, after deleting and re-installing arduino and teensyduino everything works as expected. I hope no one developed a
head ache trying to solve my problem which was probably self inflicted. Maybe I should change my handle to ' T3 Pest '

Regards to All

PaulStoffregen
08-09-2013, 08:52 PM
Thanks for the followup. I was going to try this later today.

pxgator
08-09-2013, 09:34 PM
I'm the one that should be thanking you for this awesome little board. I cut my teeth on Z-80 bread board projects
using assembly language a long time ago then lost interest. The Teensy 3 has rekindled my interest and then some.

So, Thank You Sir

sir66
07-07-2016, 02:10 PM
I have the same problem. Arduino 1.6.8, Teensyduino 1.28.

SD -> DumpFile example.

Arduino: 1.6.8 (Windows 10), TD: 1.28, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), US English"

In file included from C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2Card.h:26:0,

from C:\Users\Sir\Documents\Arduino\libraries\SD/utility/SdFat.h:27,

from C:\Users\Sir\Documents\Arduino\libraries\SD/SD.h:20,

from C:\Users\Sir\Documents\Arduino\libraries\SD\exampl es\DumpFile\DumpFile.ino:23:

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

};

^

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTDemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTBemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'DDRCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PINCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

C:\Users\Sir\Documents\Arduino\libraries\SD/utility/Sd2PinMap.h:304:1: error: cannot convert 'PORTCemulation*' to 'volatile uint8_t* {aka volatile unsigned char*}' in initialization

Multiple libraries were found for "SD.h"
Used: C:\Users\Sir\Documents\Arduino\libraries\SD
Not used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Error compiling for board Teensy 3.2 / 3.1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

PaulStoffregen
07-07-2016, 03:56 PM
Multiple libraries were found for "SD.h"
Used: C:\Users\Sir\Documents\Arduino\libraries\SD
Not used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD


Delete or move the bad copy you've installed into C:\Users\Sir\Documents\Arduino\libraries\SD.

It's overriding the good copy Teensyduino installed into C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD. This is a feature of the Arduino software, to allow you to easily override (and customize) any library by putting a copy into your Documents/Arduino/libraries folder. That's really useful when you want to hack on library code. But if you install a library there and forget about it, later is overrides others long after you've moved on.

sir66
07-12-2016, 01:23 PM
Delete or move the bad copy you've installed into C:\Users\Sir\Documents\Arduino\libraries\SD.

It's overriding the good copy Teensyduino installed into C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD. This is a feature of the Arduino software, to allow you to easily override (and customize) any library by putting a copy into your Documents/Arduino/libraries folder. That's really useful when you want to hack on library code. But if you install a library there and forget about it, later is overrides others long after you've moved on.

Fixed. Thanks!