electronic_load icon indicating copy to clipboard operation
electronic_load copied to clipboard

Compile Error

Open epubc opened this issue 6 years ago • 2 comments

Hi Anatoli Klassen, When i try compile the electronic-load project had failured.

08:34:27: Running steps for project electronic_load... 08:34:27: Configuration unchanged, skipping qmake step. 08:34:27: Starting: "/usr/bin/make" -j4 make: *** No rule to make target 'qwt_plot.h', needed by 'ui_mainwindow.h'. Stop. 08:34:27: The process "/usr/bin/make" exited with code 2. Error while building/deploying project electronic_load (kit: Desktop Qt 5.12.2 GCC 64bit2) When executing step "Make" 08:34:27: Elapsed time: 00:00.

you have a solution that does it for me?

epubc avatar May 13 '19 01:05 epubc

Hi Anatoli Klassen,

When I compiled this code with sdcc -v SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15 3.9.1 #11256 (MINGW32) published under GNU General Public License (GPL)

I got this: $ make sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 system.c -o bin/ system.c:7: warning 158: overflow in implicit constant conversion system.c:13: warning 158: overflow in implicit constant conversion sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 systemtimer.c -o bin/ sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 strings.c -o bin/ sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 flash.c -o bin/ sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 uart.c -o bin/ sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 displays.c -o bin/ sdcc -c --std-c11 --opt-code-size -mstm8 -lstm8 button.c -o bin/ button.c:67: error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/stm8/peep.c' line number '282' : !strcmp(op1start, "a") && op2start != NULL Contact Author with source code make: *** [Makefile:13: button.rel] Error 1

Is is possible to put somewhere binary output to be able to use your project without compiling the code? Just load bin into MCU?

Thank you!

cz8pru avatar Jun 14 '19 11:06 cz8pru

I was able to instsall sdcc 3.6.0 on windows and there I compiled. Currently, I soldered 20k resistor to PB3 but I see on display error - ERROR_OUP. I think, it caused by wrong values in EEPROM, I have to download bin to this section (I did not do it).

cz8pru avatar Jul 12 '19 13:07 cz8pru