User forums > General (but related to Code::Blocks)

Problem Building project with Code::Block

<< < (2/4) > >>

arashfahim:
I run the new  simple program:

--- Quote ---using namespace std;

 int main(){
     int a=2;
//    cout <<"Hello World!" << endl;
    return a;
 }

--- End quote ---
It works perfectly. Therefore the problem should be in iostream.
Am I true? Should I add some path to compiler folder?

ollydbg:

--- Quote from: arashfahim on October 04, 2010, 02:46:05 am ---Should I add some path to compiler folder?

--- End quote ---
No, these folders were added by compiler by default.

I have no idea about other error.

BTW: you can put your project file in a folder WITHOUT a space in the folder path.

arashfahim:

--- Quote ---you can put your project file in a folder WITHOUT a space in the folder path.
--- End quote ---
It does not helped. Does anyone have any idea?

stahta01:
If you have another MinGW in your system path, remove it.
If you have an MinGW in the folder x:\mingw for any drive letter in place of x rename or delete the MinGW folder.

Tim S.

arashfahim:
Thanks Tim. I searched all the hard drive.  The only path is "C:\Program Files\CodeBlocks\MinGW". There is no other one. Did you mean that by system path?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version