Menu

WinMain@16

2002-10-23
2012-09-26
  • Nobody/Anonymous

    I keep getting C:\DEV-C_~1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16' error, then I read in the faq that I need to include main(), why ? Im making a class file and it doesnt need a main function.    ::confussed::

     
    • Nobody/Anonymous

      You have to have a main somewhere in your project, if you are just compiling a piece or file at a time, then you can ignore it, or just do what I do, write a stub main first.

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.