Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualdmatter

Posted 28 November 2013 - 09:58 AM

I'm not a GCC/MinGW expert, but I would suggest that your linker settings may be in the wrong order, do you have -lmingw32 (or -lmingw64) listed ahead of other libraries (indicated by the -l prefix) or is it after a bunch of them?

 

Also worth a check, are you using the -mwindows flag? (I would guess you are as I wouldn't expect it to complain about WinMain otherwise).


#1dmatter

Posted 28 November 2013 - 09:58 AM

I'm not a GCC/MinGW expert, but I would suggest that your linker settings are in the wrong order, do you have -lmingw32 (or -lmingw64) listed ahead of other libraries (indicated by the -l prefix) or is it after a bunch of them?

 

Also worth a check, are you using the -mwindows flag? (I would guess you are as I wouldn't expect it to complain about WinMain otherwise).


PARTNERS