Steve Edwards wrote:
> No mate its not that im afraid? But thanks for the tip. I think it has
> something to do with the path where MINGW searches for the .h type files. If
> i could find that path and put my .h type files in that location I think it
> will work.
I think that would be extremely unwise.
Instead, you should try adding -I<path-to-headers>,
possibly quoted, to the compiler options.
BTW, are you running the compiler in the source directory,
which, as far as I could understand, also contains the header files?
The reason I'm asking is that if you have something like this:
./ <- current directory
sources/ <- contains sources and header files
then something like "g++ -o <ex> sources/<src>.cpp" probably fails
whereas "cd sources; g++ -o <ex> <src>.cpp"
or "g++ -I sources/ -o <ex> sources/<src>.cpp" should work.
How about posting some more details?
... Please reply if you don't get this message