Code::Blocks Forums

User forums => Embedded development => Topic started by: pr1y3nd on February 15, 2011, 08:23:41 pm

Title: Linux x64 AVR-GCC project wrong search directories
Post by: pr1y3nd on February 15, 2011, 08:23:41 pm
Hi

I found that when creating an AVR-GCC project using the project wizard there is a problem with compiling because the search directories are incorrect.

I am using the 64-bit version C::B 10.05 on Ubuntu 10.10 and I believe that C::B in other 64-bit Linux's have this issue as well.

To fix the problem for Ubuntu I had to set the correct Compiler and Linker search paths to '/usr/lib/avr/include' and '/usr/lib/avr/lib' respectively.
This is done via the menu item Settings->Compiler and Debugger settings->GNU AVR GCC Compiler->Search Directories(Tab).

Once the paths are corrected, AVR projects compile with no errors.

If someone can fix this minor problem in the AVR Project template for the 64 bit version of C::B that would be great. :)
Title: Re: Linux x64 AVR-GCC project wrong search directories
Post by: oBFusCATed on February 15, 2011, 08:33:03 pm
Is this the same on all linuxes or is ubuntu specific?