Hi My friends
I'm have an AVR UController ATMEGA8A and using Atmel studio 7 for my code,
want to build an Infra Red remote control with a library that define a class in its header file (IRremote.h),
and as i know C language doesn't support class type (not OOP), so when i compile the program with the name main.c ,I've got a tons of error and after googling the issue i have renamed the "main.c" to "main.cpp" and compiled the app I've stuck with two errors
Error recipe for target 'RemoteCtrl.elf' failed RemoteCtrl E:\Projects\ATMEL UController\RemoteCtrl\Debug\Makefile 96 Build
Error ld returned 1 exit status RemoteCtrl collect2.exe 0 Build