gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > Compiling using MinGW for Windows

#176325 - samworld - Mon Jun 27, 2011 8:40 pm

Good evening everybody,

I lastly retrieved some source codes in C++ then I tried to compile for Windows.
I use the syntax :
Code:
make ./thingToMake

then MinGW produces the line :
Code:
g++  thingToMake.cpp  -o thingToMake

plus the error :
    thingToTest.cpp:18:19: fatal error: someHeader.h: No such file or directory
    compilation terminated.
    make: *** [thingToMake] Error 1


Please how would you go on? I think I must continue using the makefile
(there is one file 'Makefile.am' in the same directory).

OS : Windows 7
MinGW + MSYS : may 30th 2011[/code]