Author Topic: wont find preprocessor files in projects  (Read 2751 times)

Seth

  • Guest
wont find preprocessor files in projects
« on: August 08, 2008, 03:47:46 am »
I have no idea why this wont work. I tried looking in the manuals, found nothing, i tried searching the forums,.. found nothing,..

So, when i compile a c++ file everything works fine.
But, when I start a project in Code::Blocks and try to compile it, none of the preprocessor are found:
being iostream, cstlib,.. etc...
i get this in the build messages:
C:\Rude Frog\MiniEval_Trader\main.c|1|iostream: No such file or directory|
same for every other include i have.
but then i open up the .c file not in a project and compile it,.. again everything is fine!!!
I'm going nuts.
PLEASE HELP!!!

Offline dmsundaram

  • Single posting newcomer
  • *
  • Posts: 4
Re: wont find preprocessor files in projects
« Reply #1 on: September 30, 2008, 07:45:28 am »
Goto Settings->Compiler and Debugger Settings. Then goto ToolChainExecutatbles. Click the button Auto-Detect.
May be your issue fixed now. All the best!!!  :)

In worst case, use "Reset Defaults" options. Surely it will help your problem!

Meenakshi Sundaram
NetLink Technologies Ltd,
Chennai.
« Last Edit: September 30, 2008, 07:47:08 am by dmsundaram »