News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wont find preprocessor files in projects

Started by Seth, August 08, 2008, 03:47:46 AM

Previous topic - Next topic

Seth

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!!!

dmsundaram

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