News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Linux x64 AVR-GCC project wrong search directories

Started by pr1y3nd, February 15, 2011, 08:23:41 PM

Previous topic - Next topic

pr1y3nd

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. :)

oBFusCATed

Is this the same on all linuxes or is ubuntu specific?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]