Author Topic: Search path order  (Read 3251 times)

Offline tasdev

  • Multiple posting newcomer
  • *
  • Posts: 10
Search path order
« on: October 14, 2008, 02:29:14 pm »
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:

Code
#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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Search path order
« Reply #1 on: October 15, 2008, 11:32:44 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tasdev

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Search path order
« Reply #2 on: October 15, 2008, 01:48:27 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?