News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Change default include directories.

Started by kript0n, September 14, 2015, 10:44:51 AM

Previous topic - Next topic

kript0n

I use CodeBlocks for avr programming. Now it looks for include files in /usr/include and /usr/lib/avr/include folders. I'm trying to include <inttypes.h> from "avr" directory but codeblocks finds two files with the same name in folders named before and includes file from /usr/include.  How can I remove "/usr/include" from search path?  In build options "search directories" tab is empty.

oBFusCATed

You have to remove the path from the Settings -> Compiler -> AVR GCC -> Search paths -> Compiler.

I've been bitten by this problem, but I don't know how to reproduce it reliably.
If you know the steps don't hesitate to post a ticket on sourceforge.net.
(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!]