News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Search path order

Started by tasdev, October 14, 2008, 02:29:14 PM

Previous topic - Next topic

tasdev

Hello

I have just installed 8.02 on Windows with MinGW - GCC compiler is working fine. I am compiling a project which uses boost and wxWidgets and there is an include:


#include <process.h>


Now this file is present both in Win32 and in wxWidgets, but I need to pick up the Win32 one when compiling boost, but I keep getting the wxWidgets one. My question, how do change the search path order in Code::Blocks?

Thanks for any help.

MortenMacFly

Quote from: tasdev on October 14, 2008, 02:29:14 PM
My question, how do change the search path order in Code::Blocks?
Move the folder(s) up/down using the controls just right beside the include directories in the build options of your project (search path's).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tasdev

Quote from: MortenMacFly on October 15, 2008, 11:32:44 AM
Quote from: tasdev on October 14, 2008, 02:29:14 PM
My question, how do change the search path order in Code::Blocks?
Move the folder(s) up/down using the controls just right beside the include directories in the build options of your project (search path's).
Thanks Morten, I tried that, but it did not help. I fixed the problem by moving the search paths to the project options - I had them in the global compiler settings. A beginners mistake?