Error when skecthing on teensy 3.2 recipe.preproc.macros pattern is missing

Status
Not open for further replies.

Jflores

New member
Hi everyone, I'm a super newbee to this I'm building a controller for a project but having issues I keep getting an error message

Arduino: 1.6.11 (Windows 10), Board: "Teensy 3.2 / 3.1, XInput, 96 MHz (overclock), Faster, US English"

recipe.preproc.macros pattern is missing

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.


Here is the code I'm using

#include <xinput.h>

// Create the controller class
XINPUT controller(NO_LED);

Void setup()
{
}

void loop()
{
int stickState = map (analogRead(9), 0, 1023, -32000, 32000);

controller.stickUpdate (STICK_LEFT, stickState, 0);

// Send data
controller.sendXinput();

// Receive data
controller.receiveXinput();


}

Please help!!!!!!! please Help !!!!!!
 
here is another version of error message

Arduino: 1.6.11 (Windows 10), Board: "Teensy 3.2 / 3.1, XInput, 96 MHz (overclock), Faster, US English"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jflores\Documents\Arduino\libraries -fqbn=teensy:avr:teensy31:usb=xinput,speed=96,opt=o2std,keys=en-us -ide-version=10611 -build-path C:\Users\jflores\AppData\Local\Temp\buildd8f17aa63a2d7b2698db7961e385c391.tmp -warnings=none -prefs=build.warn_data_percentage=75 -verbose C:\Users\jflores\Documents\Arduino\sketch_may03a\sketch_may03a.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jflores\Documents\Arduino\libraries -fqbn=teensy:avr:teensy31:usb=xinput,speed=96,opt=o2std,keys=en-us -ide-version=10611 -build-path C:\Users\jflores\AppData\Local\Temp\buildd8f17aa63a2d7b2698db7961e385c391.tmp -warnings=none -prefs=build.warn_data_percentage=75 -verbose C:\Users\jflores\Documents\Arduino\sketch_may03a\sketch_may03a.ino
Using board 'teensy31' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Using core 'teensy3' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Detecting libraries used...recipe.preproc.macros pattern is missing


Error compiling for board Teensy 3.2 / 3.1.
 
Current/latest supported Arduino IDE is 1.8.9 and TeensyDuino 1.46

Might show something different with a current version. Either update or if a ZIP was downloaded a new location and used?

Also details on build Tools menu options for the T_3.2 - USB Type etc rather than parsing the output line.
 
Im running teensydurino 1.30 for compatabillity for external libary that wont let me run on newer versions at all thats why im using older software
 
Assuming since old library and version of Arduino used for some time had been working?

What changed to give the 'new' errors?

Perhaps the install got corrupted? Otherwise if it had been working some other change is responsible...
 
Status
Not open for further replies.
Back
Top