when I create a new project for AVR and atmega644p, it always comes up with a pop-up box saying ' Can not find compiler executable in your configured search path's for GNU AVR GCC Compiler.' And I try to use Setting-Compiler-GNU AVR GCC Compiler-Toolchain executbles . In the Compiler's installation directory, it shows C:\WinAVR which is not exist in the computer and I choose Auto-detect, but it shows 'Could not auto-detect installation path of GNU AVR GCC Compiler. Do you want to use this compiler's default installation directory?'
I download code-blocks from http://www.codeblocks.org/downloads/26 , and I've tried both codeblocks-12.11mingw-setup.exe and codeblocks-12.11mingw-setup_user.exe . But they both show the same problem. I've tried uninstall and install several times. I install it to D:\ and my system is Windows 7 64 bit.
Could someone help me with it? I am struggling on this for an hour. I'd really appreciate if someone could help!
Install the GNU AVR GCC Compiler.
Tim S.
Quote from: stahta01 on March 27, 2013, 01:50:07 PM
Install the GNU AVR GCC Compiler.
Tim S.
Thank you for answering, could you please give me a little more detail about where and how I can install it ? I'm a really beginner. And also I thought that both GCC compiler and GDB debugger for AVR target are already included in the MinGW version, but it seems not, is it there?
No, they aren't included.
The AVR compiler I think depends on the board/processor you're targeting, so check the docs or the vendor of you board/processor if there isn't a compiler or instructions how to get the compiler.
Check this one: http://winavr.sourceforge.net/ (http://winavr.sourceforge.net/)
(does not depend on board/processor)