Tach, habe das selbe Problem:
Code:Build started 27.4.2007 at 19:22:10 avr-gcc.exe -mmcu=atmega2560 -Wall -gdwarf-2 -DF_CPU=16000000UL -O0 -fsigned-char -MD -MP -MT Hexapod.o -MF dep/Hexapod.o.d -c ../Hexapod.c process_begin: CreateProcess((null), avr-gcc.exe -mmcu=atmega2560 -Wall -gdwarf-2 -DF_CPU=16000000UL -O0 -fsigned-char -MD -MP -MT Hexapod.o -MF dep/Hexapod.o.d -c ../Hexapod.c, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. make: *** [Hexapod.o] Error 2 Build succeeded with 0 Warnings...Makefile wird erstellt:Code:27-Apr-2007 19:22:10 GCC plug-in: Error: Object file not found on expected location G:\Projekte\Robotics\Hexapod\Code\C\Hexapod\default\Hexapod.elfDie Daten darin stimmen auch (soweit ich das sehen kann).Code:G:\Projekte\Robotics\Hexapod\Code\C\Hexapod\default\Makefile"
An meinem Code wirds nicht liegen:Code:############################################################################### # Makefile for the project Hexapod ############################################################################### ## General Flags PROJECT = Hexapod MCU = atmega2560 TARGET = Hexapod.elf CC = avr-gcc.exe ## Options common to compile, link and assembly rules COMMON = -mmcu=$(MCU) ## Compile options common for all C compilation units. CFLAGS = $(COMMON) CFLAGS += -Wall -gdwarf-2 -DF_CPU=16000000UL -O0 -fsigned-char CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d ## Assembly specific flags ASMFLAGS = $(COMMON) ASMFLAGS += $(CFLAGS) ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2 ## Linker flags LDFLAGS = $(COMMON) LDFLAGS +=
Bei Project-Settings ist "Create hex-file" akiviert.Code:#include <stdio.h> int Zahl1; char Zeichen1; int main (void) { int zahl2; /* Anweisungen */ return 0; }
An was liegts/könnte es liegen![]()







Zitieren

Lesezeichen