Comments (9)
Stream.h is part of the Arduino IDE board definition. It is in hardware/arduino/cores/arduino and should be found.
Perhaps you have a non Arduino board where the file is missing?
What IDE version are you using? I checked the current 1.0.3 and there it is.
from repetier-firmware.
Ah OK, I use the new 1.0.3 version. But because I have a Gen7 1.3.1, I also installed the Arduino support package from the Gen7 repository, which does not ship with Stream.h. If the Gen7 Arduino support package is not necessary with Repetier firmware, you should maybe state that explicitly in the documentation.
from repetier-firmware.
I guess it is necessary. Only I didn't know it has no Stream.h like Arduino does. I need to take a look at it. I have no Gen 7 so I never tried and other could compile. But I guess you are trying the new development version?
from repetier-firmware.
One more thing you could do if you use the development version. Put into Configuration.h
#define EXTERNALSERIAL // Force using arduino serial
then the Stream.h is not required, because the Arduino serial is used instead, or in your case the Gen7 version of it.
from repetier-firmware.
Yes, after not having touched my Reprap for 9 month or so, I now try to compile the Repetier development version. It looks like the Gen7 support package is not quite up to date. I have now copied over Stream.h and WString.h and inserted the following includes in Print.h to satisfy the compiler:
#include <stdio.h>
#include "WString.h"
So far so good, but then I get this error:
In file included from ui.h:440,
from ui.cpp:23:
uiconfig.h: In function ‘void ui_init_keys()’:
uiconfig.h:379: error: ‘DIO42_DDR’ was not declared in this scope
uiconfig.h:379: error: ‘DIO42_PIN’ was not declared in this scope
uiconfig.h:379: error: ‘DIO42_WPORT’ was not declared in this scope
uiconfig.h:379: error: ‘DIO42_PIN’ was not declared in this scope
uiconfig.h:379: error: ‘DIO42_WPORT’ was not declared in this scope
uiconfig.h:379: error: ‘DIO42_PIN’ was not declared in this scope
uiconfig.h: In function ‘void ui_check_keys(int&)’:
uiconfig.h:391: error: ‘DIO42_RPORT’ was not declared in this scope
uiconfig.h:391: error: ‘DIO42_PIN’ was not declared in this scope
ui.cpp: In function ‘void beep(byte, byte)’:
ui.cpp:58: error: ‘DIO37_DDR’ was not declared in this scope
ui.cpp:58: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:68: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:68: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:68: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:68: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:84: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:84: error: ‘DIO37_PIN’ was not declared in this scope
ui.cpp:84: error: ‘DIO37_WPORT’ was not declared in this scope
ui.cpp:84: error: ‘DIO37_PIN’ was not declared in this scope
I guess that is related to the "new" LCD support. In Configuration.h there seems to be no switch to completely turn that feature off.
from repetier-firmware.
Thanks for the reply. That is really helpful. I really need to change the config structure a bit to prevent such problems. In your case set BEEPER_TYPE 0 and delete the contents of
void ui_init_keys() {
}
and
void ui_check_keys(int &action) {
}
I guess Sanguino boards will have similar problems, so I will also remove the Stream dependency and make switches in Configuration.h to disable the user interface.
from repetier-firmware.
Let me summarize how to compile Repetier firmware with Arduino 1.0.3. I mistakenly tried to use the Gen7 Arduino support package built from the Generation_7_Electronics sources hosted on Github. Instead download and use the Ge7 Arduino IDE support package 2.0 provided as a zipfile. That one contains all the needed header files. Do not use the modified files from the boards folder of the Repetier sources.
from repetier-firmware.
The newest development version shouldn't have any problems any more.
It now only needs the Print.h file. It now also easy to disable the ui completely in the Configuration.h. Simple set
#define FEATURE_CONTROLLER 0
You should also not use any boards changes. Simply use the original arduino/gen7/sanguino files for Arduino 1.x and it should compile.
from repetier-firmware.
Sent from my mobile phone. Please excuse my brevity.
repetier [email protected] wrote:
The newest development version shouldn't have any problems any more.
It now only needs the Print.h file. It now also easy to disable the ui completely in the Configuration.h. Simple set
#define FEATURE_CONTROLLER 0
You should also not use any boards changes. Simply use the original arduino/gen7/sanguino files for Arduino 1.x and it should compile.
Reply to this email directly or view it on GitHub:
#54 (comment)
from repetier-firmware.
Related Issues (20)
- ZHOME_PRE_RAISE value HOT 1
- Display controller hangs after USB is disconnected. HOT 19
- Beeper doesn't stop beeping in dev2 HOT 13
- Software endstop don't trigger on retest HOT 6
- Hardware endstop don't work HOT 5
- dev2: Homing causes motion on E axis (extruder) HOT 3
- dev2, delta printer: Running auto-level before print fails if auto-leveled before HOT 1
- Caught a bug: incorrect processing G2 and G3: arc processing error with commands G2 and G3 HOT 1
- Printer reset detected when connecting with Octoprint HOT 13
- Typo maybe..... HOT 2
- homing regression between 1.0.4 and current development branch HOT 4
- Better long filenames support HOT 3
- Crush while connecting my FlsunQ5 printer in a Surface PRO 7 HOT 3
- Issue Compiling for Melzi V2 (Wanhao Duplicator i3) Repetier V1.0.4 HOT 2
- x, y, z axis only move in one direction HOT 4
- 1.0.5 dev incorrect processed PID calibration g-code M303 HOT 2
- Under extrusion and Stringing HOT 1
- Issue on Spiderking 407 motherboard, couldn't get any axis to move HOT 2
- Evenly spread multisteps
- Issue with missed steps, incorrect positioning after collision HOT 2
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 repetier-firmware.