User forums > Using Code::Blocks
Search path order
(1/1)
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:
--- Code: ---#include <process.h>
--- End code ---
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?
--- End quote ---
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).
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?
--- End quote ---
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).
--- End quote ---
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?
Navigation
[0] Message Index
Go to full version