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

compiling error with win10 #12

Open
dede0393 opened this issue Sep 4, 2024 · 0 comments
Open

compiling error with win10 #12

dede0393 opened this issue Sep 4, 2024 · 0 comments

Comments

@dede0393
Copy link

dede0393 commented Sep 4, 2024

hi
This your vu meter project is very good👍👍,
honestly I'm not too familiar with using this method, usually I use arduino and bascom-avr (with a beginner level😅). But I want to try it and I have a problem when compiling it with windows10 and using git bash command,

the is error like this:

Untitled

Wii@DESKTOP-3R6O28K MINGW64 ~/Desktop/avr-gcc-214.1.0-x64-windows/bin
$ make
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/utils.lst -O2 -DNDEBUG -c -o build/RELEASE/utils.o src/utils.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/fault.lst -O2 -DNDEBUG -c -o build/RELEASE/fault.o src/fault.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/benchmark.lst -O2 -DNDEBUG -c -o build/RELEASE/benchmark.o src/benchmark.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/ring_buffer.lst -O2 -DNDEBUG -c -o build/RELEASE/ring_buffer.o src/ring_buffer.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/i2c_hw.lst -O2 -DNDEBUG -c -o build/RELEASE/i2c_hw.o src/i2c_hw.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/i2c.lst -O2 -DNDEBUG -c -o build/RELEASE/i2c.o src/i2c.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/oled.lst -O2 -DNDEBUG -c -o build/RELEASE/oled.o src/oled.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/display.lst -O2 -DNDEBUG -c -o build/RELEASE/display.o src/display.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/progmem_image_sprite.lst -O2 -DNDEBUG -c -o build/RELEASE/progmem_image_sprite.o src/progmem_image_sprite.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/needle_coordinates.lst -O2 -DNDEBUG -c -o build/RELEASE/needle_coordinates.o src/needle_coordinates.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/needle_sprite.lst -O2 -DNDEBUG -c -o build/RELEASE/needle_sprite.o src/needle_sprite.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/adc.lst -O2 -DNDEBUG -c -o build/RELEASE/adc.o src/adc.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/calibration.lst -O2 -DNDEBUG -c -o build/RELEASE/calibration.o src/calibration.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/main.lst -O2 -DNDEBUG -c -o build/RELEASE/main.o src/main.c
avr-gcc -mmcu=atmega328p -DF_CPU="16000000UL" -MD -MP -Wall -Werror -std=c99 -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -frename-registers -g -Wa,-ahlmsd=build/RELEASE/main -O2 -DNDEBUG -mmcu=atmega328p -static -Wl,-Map=build/RELEASE/map.map,--cref -Wl,--section-start=.eefixed=0x810080 -Wl,-gc-sections build/RELEASE/utils.o build/RELEASE/fault.o build/RELEASE/benchmark.o build/RELEASE/ring_buffer.o build/RELEASE/i2c_hw.o build/RELEASE/i2c.o build/RELEASE/oled.o build/RELEASE/display.o build/RELEASE/progmem_image_sprite.o build/RELEASE/needle_coordinates.o build/RELEASE/needle_sprite.o build/RELEASE/adc.o build/RELEASE/calibration.o build/RELEASE/main.o -o build/RELEASE/main
build/RELEASE/main.o: In function main': C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to IMG_BACKGROUND'
C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to IMG_BACKGROUND' C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to IMG_PEAK_INDICATOR'
C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to IMG_PEAK_INDICATOR' C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to IMG_WATERMARK'
C:\Users\Wii\Desktop\avr-gcc-214.1.0-x64-windows\bin/src/main.c:160: undefined reference to `IMG_WATERMARK'
make: *** [build/RELEASE/main] Error 1

Can you help me please?
thank you🙏

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

1 participant