Author Topic: Compilation error help!  (Read 3386 times)

boringz

  • Guest
Compilation error help!
« on: March 18, 2008, 06:09:59 am »
Hi,

I have this error when I tried to compile..

Compiling: D:\Programming Projects\MPIProgramming Projects\greetings.c
Execution of 'mingw32-g++.exe   -ID:\MPICH2\include  -c "D:\Programming Projects\MPIProgramming Projects\greetings.c" -o "D:\Programming Projects\MPIProgramming Projects\greetings.o"' in 'C:\Users\Richard Lim\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CodeBlocks' failed.
Nothing to be done.


I have installed MPICH2 for my project, installing both MPICH and codeblocks in my D drive. Any ideas why it couldn't run? I have installed MingW too if you're wondering. Everything is set but it's not working. Queer. Is it a prequisite that I must install in C drive? I don't think so. And I noticed at this line "  -ID:\MPICH2\include " why isn't it running as -I "D:\MPICH2\include" like the others? Any help appreciated. Thanks a billion.

Info:
Windows Machine (Vista x86 - Don't think it affects the problem because I had it running on another vista machine in school)


boringz

  • Guest
Re: Compilation error help!
« Reply #1 on: March 19, 2008, 04:53:05 pm »
Bump. Anyone has a solution?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Compilation error help!
« Reply #2 on: March 20, 2008, 12:08:21 am »
Incorrectly configured compiler. Look at your compiler options, toolchain executables.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."