Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sunilshahu
PostPosted: Feb 27, 2012 - 11:00 AM
Newbie


Joined: Feb 27, 2012
Posts: 3


hi..
i am using avr atmega16 pu first time.
when i tried to debug my small code using AVR studio 4 i got this erroe:

Build failed... No build tools defined.

please suggest some solution...

thanx
sunil
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Feb 27, 2012 - 11:17 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62324
Location: (using avr-gcc in) Finchingfield, Essex, England

Can you confirm that you have separately downloaded and installed either WinAVR20100110 or Atmel's "AVR Toolchain"? (the dialog says you have not).

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
sunilshahu
PostPosted: Mar 27, 2012 - 06:13 AM
Newbie


Joined: Feb 27, 2012
Posts: 3


ya now i have downloaded WinAVR20100110 and installed sucesfully..
but i am still not able to build it...
the versions are as follows in avr studio 4:


AVR Studio 4.16.628
GUI Version 4, 16, 0, 626



Operating System
Major 6
Minor 1
PlatformID 2
Build 7600


Plugins:

AvrPluginAvrAsmObject 1, 0, 0, 47
AvrPluginavrgccplugin 1, 0, 0, 10
Stk500Dll 1, 0, 1, 11
Avr also consumes my 95% of processor...
Please suggest some solution
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Mar 27, 2012 - 09:24 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62324
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

but i am still not able to build it...

But that picture shows no compilation error?

Quote:

Avr also consumes my 95% of processor...

If you use math functions do you link with libm.a - that can easily save 2K.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
mtaschl
PostPosted: Mar 27, 2012 - 12:51 PM
Resident


Joined: Aug 21, 2002
Posts: 895
Location: Austria

To me it seems, OP meant 95% of the processor of his PC. The status-line in the very top shows "AVR Studio - C:\... (Not Responding)"

As far I see, OP uses Win7. In which paths are WINAVR and AVRStudio installed? They should not contain any white spaces or special characters.

AVRStudio 4.16 is from 2009 - maybe it has some incompatibilities to Win7?

_________________
/Martin.
 
 View user's profile Send private message  
Reply with quote Back to top
sunilshahu
PostPosted: Mar 27, 2012 - 03:03 PM
Newbie


Joined: Feb 27, 2012
Posts: 3


thanx clawson and martin
@martin- yes u r right.. while i build any code, AVR studio hangs showing NOT RESPONDING on top. it doesnt respond till i kill it with my task manager..
the path of studio is as below..

C:\Program Files (x86)\Atmel\AVR Tools\AvrStudio4\AVRStudio.exe

while the path for WinAVR-20100110 is:

C:\Users\Sunil\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
 
 View user's profile Send private message  
Reply with quote Back to top
mtaschl
PostPosted: Mar 27, 2012 - 05:26 PM
Resident


Joined: Aug 21, 2002
Posts: 895
Location: Austria

Try to install WinAVR in it's default directory C:\WinAVR-20100110
As far as I remember, both - having WinAVR itself or the project (source) in a directory containing spaces (C:\...\Start Menu\...") or special characters can cause malfunction.

_________________
/Martin.
 
 View user's profile Send private message  
Reply with quote Back to top
phill_oye
PostPosted: Apr 09, 2012 - 06:14 PM
Newbie


Joined: Apr 09, 2012
Posts: 1


Hey, I had similar problem and the compiler reported "Build failed... No build tools defined"
I deleted the System Variables :
"Path" where was "C:\Program Files (x86)\Atmel\AVR Tools\AVR Toolchain\bin;C:\Program Files (x86)\WinAVR-20100110\bin;C:\Program Files (x86)\WinAVR-20100110\utils\bin"
and "AVR32_HOME" just to make sure where was "C:\Program Files (x86)\WinAVR-20100110"
and after clicking on the build icon in AVR Studio V4.19, it told me that it will create the path itself or something like that and since then it's been working properly.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits