-
Notifications
You must be signed in to change notification settings - Fork 34
sketch compilation error #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, the build error doesn't seem related to this particular sketch but rather to the Arduino/ESP8266 IDE setup. There are similar reports, for example, here and here.
There should be no other adjustments required besides editing the main file ( |
thanks for the answer. C:\DOCUME USBPortPrinter.cpp:27:69: error: no matching function for call to 'CH375::setBaudRate(int, USBPortPrinter::ensureInitialized()::__lambda0)' if(!ch375.setBaudRate(100000, this{ch375stream.begin(100000);})) return false;
C:\DOCUME In file included from C:\Documents and Settings\Admin\Arduino\libraries\CH375-Arduino-master\src/CH375USBPrinter.h:2:0,
C:\Documents and Settings\Admin\Arduino\libraries\CH375-Arduino-master\src/CH375.h:108:10: note: bool CH375::setBaudRate(uint32_t, void (*)())
C:\Documents and Settings\Admin\Arduino\libraries\CH375-Arduino-master\src/CH375.h:108:10: note: no known conversion for argument 2 from 'USBPortPrinter::ensureInitialized()::__lambda0' to 'void (*)()' Using library ESP8266WiFi at version 1.0 in folder: C:\Documents and Settings\Admin\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi |
Sorry for the delay. The I fixed the library so that it uses the proper |
Greetings!
I need help.
I have WinXP, Arduino IDE 1.8.9, ESP8266 by ESP8266 community version 2.7.1 and Wemos D1 mini Pro.
I am trying to compile the printserver.ino sketch without any changes (installed the CH375 and
CH375USBPrinter libraries from the ZIP ).
I get an error:
"fork/exec C:\Documents and Settings\Admin\Local Settings\Application Data\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3.exe: %1 is not a valid Win32 application.
Error compiling for board LOLIN(WEMOS) D1 R2 & mini."
How to fix this error?
And another question: I need to connect the printer as direct parallel. To do this, you will only need to include the appropriate section in the sketch, or will you need to do someone else?
The text was updated successfully, but these errors were encountered: