Ancurio / mkxp

Free Software implementation of the Ruby Game Scripting System (RGSS)
GNU General Public License v2.0
511 stars 129 forks source link

mingw-w64: fixes up most of the cmake build. #164

Closed hanetzer closed 7 years ago

hanetzer commented 7 years ago

Mostly works, only issue is I can't build without #undef main without the following errors

/usr/lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o):(.text.startup+0x2e): undefined reference to `WinMain'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/mkxp.dir/build.make:1846: mkxp.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/mkxp.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
hanetzer commented 7 years ago

fugg, I didn't realize that stuff hung around... one second.

hanetzer commented 7 years ago

fml. look, I'll just close this one, delete the branch, and open a new pr. I done goofed.