Comments (13)
Im not by my computer right now but im pretty sure that message is there if the selected board isn't any of the boards that bmc is compatible with, can you double check that u do have the 4.1 selected in the arduino ide?
from bmc.
'Teensy 4.1' (BMC) is selected, and loading stock teensy examples works, Sorry, I should have added more info. looking at BMC-Def.h, the include arduino.h can't be found, when I downloaded ArduinoCore-avr-master and point to arduino.h, then vs-code error reads cannot open source file "stdlib.h" (dependency of "C:\Users\djasy\Downloads\ArduinoCore-avr-master\ArduinoCore-avr-master\cores\arduino\Arduino.h")C/C++(1696)
I only know enough to get into trouble, the instructions were very clear, maybe i am missing something obvious, will be Awesome whem it works :)
from bmc.
Mmmm is teensyduino installed? I did a quick check on the github and the error points to the teensyduino not being installed, u have to install teensyduino AND the bmc for teensy boards which u do seem to have installed
from bmc.
these .jsons are in additional board manager URLS, and downloaded:
https://raw.githubusercontent.com/neroroxxx/package_badassmidi_index/master/package_badassmidi_index.json
https://www.pjrc.com/teensy/package_teensy_index.json
from bmc.
Teensy by Paul Stoffregen Version 1.57.1
BMC Version 1.0.0
from bmc.
Ok i will have to wait to test it on my computer, which instructions did u follow to instal everything?
from bmc.
Ok another thing i noticed, are you using vscode to compile or the arduino ide?
from bmc.
sorry, no, i just used it to poke around on windows, I'm using the Arduino-ide. Its so strange I get the same error on another computer.
from bmc.
https://github.com/neroroxxx/BMC/blob/master/docs/installation-instructions.md
https://www.pjrc.com/arduino-ide-2-0-0-teensy-support/
To install Teensy on Arduino IDE 2.0.0, click File > Preferences. In “Additional boards manager URLs”, copy this link:
https://www.pjrc.com/teensy/package_teensy_index.json
In the boards manager column, type “teensy” in the “Filter your search…” box. When Teensy appears, hover your mouse to expand and then click the INSTALL button.
Step 1: Install the BMC for Teensy boards
The BMC for Teensy boards are identical to the boards from teensy, they are a reference to the Teensy installation and require you to have teensyduino installed. These boards can only be used with BMC since they will require your sketches to have a config.h file in the sketch's folder, otherwise they will not compile.
On Arduino open Preferences, at the bottom of the preferences window you will see Additional Boards Manager URLs next to it a text field and next to the text field a button, click that button to open a list of your board manager's urls, there add a new line and copy and paste the url below:
https://raw.githubusercontent.com/neroroxxx/package_badassmidi_index/master/package_badassmidi_index.json
Next go to the Arduino Tools menu and select Board > Boards Manager, in the search field type "BMC for Teensy" and click install.
from bmc.
ok i got it, looks like its only with teensy 4.1 boards, the quick fix would be to go to documents/arduino/libraries/BMC/src/utility/BMC-Def.h and on line 50 replace "#el#if" with "#elif" idk how oh earth i did that... ill add an updated fix now as well, thank you for the heads up on this
from bmc.
Awesome!!! thank you for all your work, I'm really Stoked I found BMC.
peace.
from bmc.
If you can just confirm that you are able to compile and i will close the issue
from bmc.
All Good :)
from bmc.
Related Issues (10)
- problems building your "button-led-callback" example HOT 2
- LCD/TFT documentation HOT 2
- Compilation Error on basic sketch HOT 2
- Error compiling for board Teensy 4.1 (BMC). HOT 3
- Keypad Option in Config File Maker not working properly HOT 3
- Teensy 4.1 config.h wont compile HOT 2
- Arduino IDE 2.3.2 wont compile HOT 5
- Bug in BMC-MuxInAnalog74HC40XX.h and problems with connecting to programmed Teensy 4.1 HOT 3
- Error when starting up the Midi device HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bmc.