Buildproblem nach Konvertierung von AVR Studio 4 zu 6

Gast #2754563
Lesenswert?

Hallo,

vorweg: Bin blutiger Anfänger.

Wollte ein Projekt von nem µC Buch (liegt wahrscheinlich als Studio 4 
Version vor) ins Studio 6 importieren, dort neu builden bzw. ein Hex 
File erzeugen,
um dieses mit Ponyprog zu flashen.

Soweit hat das importieren ja funktioniert nur beim builden (F5) kommt 
folgende Meldung:


Error  1  The specified task executable location 
"C:\WinAVR-20080512\utils\bin\make.exe" is invalid. 
C:\Programme\Atmel\Atmel Studio 6.0\Vs\Compiler.targets  5  5  Blink_LED

Ist da irgendein Pfad falsch oder was ist da los und wie beheb ich das?

Viele Grüße
Gast #2754596
Lesenswert?

Die make.exe ist bei mir auch woanders:
C:\Programme\Atmel\Atmel Studio 6.0\make
Anbei die Details zur Output Ausgabe "Build" und "General":


------ Rebuild All started: Project: Blink_LED, Configuration: default 
AVR ------
Build started.
Project "Blink_LED.cproj" (ReBuild target(s)):
Target "PreBuildEvent" skipped, due to false condition; 
('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreRebuild" in file "C:\Programme\Atmel\Atmel Studio 
6.0\Vs\Compiler.targets" from project "E:\Konvertierte AVRStudio 
Projekte vom Buch\Blink_LED\Blink_LED\Blink_LED.cproj" (target "ReBuild" 
depends on it):
  Task "RunCompilerTask"
C:\Programme\Atmel\Atmel Studio 6.0\Vs\Compiler.targets(23,5): MSB6004: 
The specified task executable location 
"C:\WinAVR-20080512\utils\bin\make.exe" is invalid.
  Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreRebuild" in project "Blink_LED.cproj" -- 
FAILED.
Done building project "Blink_LED.cproj" -- FAILED.

Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


11:23:47: [WARNING] Skipped reading Build Dependency settings from 
source project. It is either invalid or not provided., ModuleName: 
ProjectImporter.Core
11:23:51: [WARNING] Skipped reading Pre/Post build event settings from 
source project. It is either invalid or not provided., ModuleName: 
ProjectImporter.Core
11:24:23: [WARNING] The device [attiny13] is not supported in ASF 
Version [] that is used in the project Blink_LED
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include file not found : 
C:\WinAVR-20080512\avr\include\avr\iotn13.h
11:25:39: [WARNING] Include Path not found : include
11:25:40: [WARNING] Include Path not found : include-fixed
11:25:40: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-ar.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:46: [WARNING] Include file not found : 
C:\WinAVR-20080512\avr\include\avr\iotn13.h
11:49:03: [WARNING] Include Path not found : include
11:49:03: [WARNING] Include Path not found : include-fixed
11:49:03: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-ar.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
#2754600
Lesenswert?

Mit AVR Studio 5 und 6 hat sich einiges am Compiler geändert. In V4 lief 
alles noch über WinAVR. Besorg dir das letzte Studio 4 (4.19?). Hier im 
Forum sind viele solche Probleme bekannt. Bleib lieber bei Studio 4 und 
wenn du die zurechtfindest, solltest du sowieso zur Entwicklung auf 
eClipse umsteigen. Bessere Umgebung, selber Compiler (WinAVR).
Gast #2754737
Lesenswert?

Jop, das meinte ich mit importieren war erfolgreich.

Hab jetzt ein neues Projekt erstellt und den C-Code aus der Buchdatei 
dann hineinkopiert. Das geht. Interessanterweise sieht die Hexdatei 
anders aus als die alte originale von der Buch-CD - wenngleich beide 
Programme gleich lang sind.

Schön wäre jetzt nur noch eine funktionierende "Import" Funktion, ohne 
jedesmal ein neues Projekt anlegen zu müssen.
Gast #2836431
Lesenswert?

Moin,
ich bin auch mit einem neuen System auf AVRStudio 6 umgesteigen und 
suche jetzt eine Möglichkeit,den alten Make.exe-Eintrag zu erneuern.
Wo könnte man nähere Informationen dazu finden?
Wirklich brauchbare Informationen hat google nicht ausgespuckt 
(vielleicht habe ich auch nach den falschen Wörten suchen lassen).

Vielen Dank im Vorraus
Gast #3220870
Lesenswert?

Tach,

da ich selbst nach meiner letzten Konvertierung mal wieder vergessen 
habe, wie das Problem zu lösen ist, schreibe ich mir wahrscheinlich hier 
selbst ein Memo. Außerdem bin ich nicht der Meinung, daß Netz müßte vor 
redundanten Infos sicher gemacht werden (und in Datenblättern steht das 
auch nicht!)

Zur Sache: Konvertiere ich AtmelStudio 4 auf 6, klappt das eigentlich 
bei mir rebungslos und ohne es zu verstehen muß noch Toolchain Flavour 
auf NATIV gesetzt werden. sonst kramt er sich den alten Pfad wieder raus 
und verursacht o.g. Problem. Bilder sprechen bessere Worte....

Bestens

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren