| Author |
Message |
|
|
Posted: Apr 25, 2012 - 02:27 PM |
|

Joined: May 13, 2006
Posts: 19
|
|
Hi, I think the problem arose sometime after I went from 4.18 to 4.19
I've been working on an assembler project lately and 4.19 has been working perfectly. I'm using W7x64 but I noticed the same behaviour in XP.
I'm now onto a C project from before and I find that build is not working:
On startup Message window says: gcc plug-in: No AVR Toolchain installation found. The AVR GCC plug-in can still be used if you set up your own build tools.
Build window says:
Build failed... No build tools defined.
If I specify the location of gcc and make from the winavr directories I see in the build window:
gcc: CreateProcess: No such file or directory
I'm hoping there is a simple explanation. In the past (4.18 and before) it always just worked... |
|
|
| |
|
|
|
|
|
Posted: Apr 25, 2012 - 02:45 PM |
|


Joined: Jul 18, 2005
Posts: 62944
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
If I specify the location of gcc and make from the winavr directories I see in the build window:
gcc: CreateProcess: No such file or directory
Then you are not doing it right. That is the way to get over this "issue" in 4.19 (which no longer looks for WinAVR and fills those two fields automatically). |
_________________
|
| |
|
|
|
|
|
Posted: Apr 26, 2012 - 12:13 AM |
|

Joined: May 13, 2006
Posts: 19
|
|
|
clawson wrote:
Then you are not doing it right. That is the way to get over this "issue" in 4.19 (which no longer looks for WinAVR and fills those two fields automatically).
Thanks for the hint.
In Project Options -> Custom Options, I have:
(Use AVR Toolchain is unchecked)
avr-gcc: C:\WinAVR-20100110\avr\bin\gcc.exe
make: C:\WinAVR-20100110\utils\bin\make.exe
These paths are correct in that I browsed to them.
I created the simplest of projects in
C:\Users\DugAq\simple\simple.c
Here's the Build window contents after "Rebuild All":
Code:
Build started 26.4.2012 at 09:04:03
gcc -mmcu=attiny45 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT simple.o -MF dep/simple.o.d -c ../simple.c
gcc: CreateProcess: No such file or directory
make: *** [simple.o] Error 1
Build failed with 1 errors and 0 warnings...
What should I try?
(Maybe give up and re-install 4.18, though I recall annoying bugs in 4.18 and 4.19 has worked perfectly in the assembler project I previously mentioned...) |
|
|
| |
|
|
|
|
|
Posted: Apr 26, 2012 - 11:07 AM |
|


Joined: Jul 18, 2005
Posts: 62944
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
avr-gcc: C:\WinAVR-20100110\avr\bin\gcc.exe
It said "avr-gcc" you gave it "gcc". Could I suggest you change that to:
avr-gcc: C:\WinAVR-20100110\avr\bin\avr-gcc.exe |
_________________
|
| |
|
|
|
|
|
Posted: Apr 27, 2012 - 06:54 AM |
|

Joined: May 13, 2006
Posts: 19
|
|
Thank you, that made it work.
I wonder if this is documented anywhere? If so, I didn't find it. |
|
|
| |
|
|
|
|
|
Posted: Apr 27, 2012 - 09:28 AM |
|


Joined: Jul 18, 2005
Posts: 62944
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
I wonder if this is documented anywhere? If so, I didn't find it.
Not by Atmel but certainly by 20 or more prior threads on this subject here on Freaks.
if you think about it everyone who now simply downloads the latest Studio and the latest WinAVR (as many beginner tutorials advise) are going to be getting 4.19 and hitting this thing. Most turn up here to ask what's going on.
The whole episode, from the outside, makes Atmel look very petty and vindictive - I hope it was just a mistake by someone at Atmel and not deliberate. |
_________________
|
| |
|
|
|
|
|
Posted: Apr 28, 2012 - 05:55 PM |
|

Joined: Nov 28, 2004
Posts: 3628
Location: San Diego, Ca
|
|
|
Clawson wrote:
I hope it was just a mistake by someone at Atmel and not deliberate
It can't be THAT ! This issue is > 1 year old . Atmel hasn't fixed it ( it has to be VERY EASY to fix ) nor even documented it (another very easy thing to do) . The "Toolchain" is in, and at every opportunity they can MAKE, Winavr's out . |
_________________ 1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1
|
| |
|
|
|
|
|
Posted: Apr 28, 2012 - 10:47 PM |
|


Joined: Mar 27, 2002
Posts: 18757
Location: Lund, Sweden
|
|
|
Quote:
Atmel hasn't fixed it
Nothing more will be fixed in 4.19 if I understand the situation correctly. AVR Studio 4 has reached EOL. Use it as it is, or move on to AVR/Atmel Studio 5/6. |
|
|
| |
|
|
|
|
|
Posted: Apr 29, 2012 - 02:24 AM |
|


Joined: Nov 22, 2002
Posts: 12196
Location: Tangent, OR, USA
|
|
And 5/6 still isn't out of beta? Thats really great. No usable (out of the box) tool!
Jim |
_________________ Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA
"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
|
| |
|
|
|
|
|
Posted: Apr 29, 2012 - 08:01 AM |
|


Joined: Mar 27, 2002
Posts: 18757
Location: Lund, Sweden
|
|
|
Quote:
And 5/6 still isn't out of beta?
AS 5.1 is, if I understand it correctly. Not sure about AS 6. |
|
|
| |
|
|
|
|
|
Posted: Apr 29, 2012 - 05:55 PM |
|


Joined: Jul 18, 2005
Posts: 62944
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| Our man at Atmel has confirmed that AS6 is more stable than any 5.0 or 5.1 so I don't think it's a question of whether they are beta or stable. Always just take the very newest version as it's bound to be better than the last. The whole thing is only really making the alpha to beta transition now as parts of it are still being implemented. |
_________________
|
| |
|
|
|
|
|
Posted: Apr 30, 2012 - 04:49 AM |
|

Joined: Aug 18, 2006
Posts: 137
|
|
|
JohanEkdahl wrote:
Quote:
Atmel hasn't fixed it
Nothing more will be fixed in 4.19 if I understand the situation correctly. AVR Studio 4 has reached EOL. Use it as it is, or move on to AVR/Atmel Studio 5/6.
Clearly, AVR Studio 4 reached EOL with 4.18.
Since the special '4.19' version is not compatible with Studio 4 projects as described here and in other threads, it's not really Studio 4, any more than Studio 3 or Studio 5 are.
A partial fix to this brand-value-destroying problem would be for Atmel to stop pretending that 4.19 is a version of studio 4. That would only require a change to their Web download pages. Unless their Web interface is also EOL. |
|
|
| |
|
|
|
|
|
Posted: Apr 30, 2012 - 09:09 AM |
|


Joined: Jul 18, 2005
Posts: 62944
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Since the special '4.19' version is not compatible with Studio 4 projects as described here and in other threads
What threads? All my 4.18 project files loaded just fine in 4.19. |
_________________
|
| |
|
|
|
|
|