shigosenCCneko / YMF825MIDI_CONTROL

3 stars 2 forks source link

Error cannot be built #1

Open interrgned opened 6 years ago

interrgned commented 6 years ago

------ Build started: Project: YMF825MIDI_CONTROL, Configuration: Debug AVR ------ Build started. Project "YMF825MIDI_CONTROL.cproj" (default targets): Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!=''). Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "I:\YMF825MIDI_CONTROL-master\YMF825MIDI_CONTROL.cproj" (target "Build" depends on it): Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll". Task "RunCompilerTask" Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe -C "I:\YMF825MIDI_CONTROL-master\Debug" -f "Makefile" all make: Entering directory 'I:/YMF825MIDI_CONTROL-master/Debug' Building file: .././CalcExponentiation.S Invoking: AVR/GNU Assembler : 5.4.0 "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -Wa,-gdwarf2 -x assembler-with-cpp -c -DARCH=ARCH_AVR8 -DBOARD=BOARD_NONE -DF_CPU=16000000UL -DF_USB=16000000UL -DUSE_LUFA_CONFIG_HEADER -I "../src" -I "../src/LUFA" -I "../src/config" -MD -MP -MF "CalcExponentiation.d" -MT"CalcExponentiation.d" -MT"CalcExponentiation.o" -mrelax -Wa,-g -o "CalcExponentiation.o" ".././CalcExponentiation.S" In file included from .././CalcExponentiation.S:44:0: c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h(623,6): warning: #warning "device type not defined" [-Wcpp]

warning "device type not defined"

          ^
    .././CalcExponentiation.S: Assembler messages:

I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(123,1): error: illegal opcode asr for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(128,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(146,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(148,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(150,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(154,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(180,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(182,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(184,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(188,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(212,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(214,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(216,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(220,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(243,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(245,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(247,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(251,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(274,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(276,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(278,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(282,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(305,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(307,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(309,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(313,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(337,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(339,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(341,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(345,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(369,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(371,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(373,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(377,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(398,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(400,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(402,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(406,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(431,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(433,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(435,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\CalcExponentiation.S(439,1): error: illegal opcode or for mcu avr2 I:\YMF825MIDI_CONTROL-master\Debug\Makefile(561,1): error: recipe for target 'CalcExponentiation.o' failed make: *** [CalcExponentiation.o] Error 1 make: Leaving directory 'I:/YMF825MIDI_CONTROL-master/Debug' Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild" in project "YMF825MIDI_CONTROL.cproj" -- FAILED. Done building project "YMF825MIDI_CONTROL.cproj" -- FAILED.

Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

shigosenCCneko commented 6 years ago

Device(32U4) is not defined in compilation environment define device or move Directory YMF825MIDI_CONTROL-master/Debug try make clean and make all