carnivores-cpe / Carn2-Menu

Carnivores 2/IA Menu implementation using left over code from Interface.cpp and referencing the Carnivores 1 menu code.
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

MinGW GCC unable to find 'winres.h' include in Menu2.rc #1

Open Rexhunter99 opened 4 years ago

Rexhunter99 commented 4 years ago

...\Carn2 Menu\Menu2\Menu2.rc|10|fatal error: winres.h: No such file or directory|

winres.h is required for the .rc file as it uses identifiers for various windows resources such as the Language.

Rexhunter99 commented 4 years ago

Current solution is to edit the .rc file manually and include a preprocessor check for MINGW32, input. Unsure if Visual Studio will overwrite this if the .rc is edited within it.