Yenya / ibus-altitude-sensor

I-Bus Altitude Sensor for FlySky Telemetry
GNU General Public License v2.0
28 stars 3 forks source link

build error #6

Open babolab opened 2 years ago

babolab commented 2 years ago

Thanks for your work @Yenya !

When building in ATMEL Studio, I got the error : recipe for target 'gccversion' failed.

The line that is in error is the 389 of the makefile : 388 gccversion : 389 @$(CC) --version

So I put them on the same line, and I got this error : make: *** No rule to make target '@avr-gcc', needed by 'gccversion'. Stop.

Do you have an idea of what to do?

Yenya commented 2 years ago

As for the 'recipe for target gccversion failed' error message, there should be another error message from executing your $(CC) with --version parameter. What does it say?

As for your attempt to join the two lines from Makefile - this is not how make works. These are two separate lines for a reason.