Author Topic: Linux x64 AVR-GCC project wrong search directories  (Read 5199 times)

pr1y3nd

  • Guest
Linux x64 AVR-GCC project wrong search directories
« 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. :)
« Last Edit: February 15, 2011, 08:26:03 pm by pr1y3nd »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11786
    • Travis build status
Re: Linux x64 AVR-GCC project wrong search directories
« Reply #1 on: February 15, 2011, 08:33:03 pm »
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!]