Skip to content
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

Error 1, Build error #86

Open
xDudox opened this issue Dec 8, 2023 · 2 comments
Open

Error 1, Build error #86

xDudox opened this issue Dec 8, 2023 · 2 comments

Comments

@xDudox
Copy link

xDudox commented Dec 8, 2023

Could someone help me what is wrong?
1231234

@dzid26
Copy link

dzid26 commented Dec 8, 2023

Is this the latest version of the TSDZ2-Smart-EBike-1 ?
Which version of sdcc have you installed? Can you type in the terminal: sdcc --version

The compilation should look like this:
image

Build started...
mkdir -p ../../bin
sdcc --verbose -c -I../common/STM8S_StdPeriph_Lib/inc -I../common -mstm8 -DSTM8S105 -Ddouble=float --std-c99 --nolospre --opt-code-speed --peep-asm --peep-file peep.txt --out-fmt-ihx --debug  -o../../bin/ ../common/STM8S_StdPeriph_Lib/src/stm8s_iwdg.c
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -std=c99 -I"../common/STM8S_StdPeriph_Lib/inc" -I"../common" -D"STM8S105" -D"double=float" --obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_CHAR_UNSIGNED -D__SDCC_MODEL_MEDIUM -D__SDCC_OPTIMIZE_SPEED -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCCCALL=1 -D__SDCC=4_3_2 -D__SDCC_VERSION_MAJOR=4 -D__SDCC_VERSION_MINOR=3 -D__SDCC_VERSION_PATCH=2 -D__SDCC_REVISION=14254 -D__SDCC_stm8 -D__STDC_NO_COMPLEX__=1 -D__STDC_NO_THREADS__=1 -D__STDC_NO_ATOMICS__=1 -D__STDC_NO_VLA__=1 -D__STDC_ISO_10646__=201409L -D__SIZEOF_FLOAT__=4 -D__SIZEOF_DOUBLE__=4 -D__SDCC_BITINT_MAXWIDTH=64 -isystem "C:\Program Files\SDCC\bin\..\include\stm8" -isystem "C:\Program Files\SDCC\bin\..\include"  -xc "../common/STM8S_StdPeriph_Lib/src/stm8s_iwdg.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdasstm8.exe -plosgffwy ""../../bin\stm8s_iwdg".asm"
sdcc --verbose -c -I../common/STM8S_StdPeriph_Lib/inc -I../common -mstm8 -DSTM8S105 -Ddouble=float --std-c99 --nolospre --opt-code-speed --peep-asm --peep-file peep.txt --out-fmt-ihx --debug  -o../../bin/ ../common/STM8S_StdPeriph_Lib/src/stm8s_itc.c
sdcc: Calling preprocessor...
etc

In your case, I believe SDCC is somehow calling C:\Program Files\SDCC\bin\sdasstm8.exe without quotation marks.

@xDudox
Copy link
Author

xDudox commented Dec 8, 2023

Thanks for your help, your suggestion about SDCC helped me. I installed SDCC directly to Drive C:.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants