Wednesday, 27 September 2017

c++ - undefined reference to `WinMain@16' Code::Blocks

I have some problem with my new project.
There is only 1 error, that i don't know how to fix.




undefined reference to `WinMain@16'



I read a lot of topic on different forums about the issue, but I couldn't find a proper solution. They said that it was because the project type was wrong.(Instead of console applicaton, windows application is being used, etc..) I confirmed it in my project's properties, that my project is indeed a consol application, so I don't even have a clue, what i'm supposed to do now to fix it.



By the way, I'm using Code::Blocks IDE, if it matters.
Thank you guys in advance for your help, I hope we can find the solution.

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...