I'm not a Windows expert, but I think the problem is the usage of the main(…) function. That is *nix style, but in Windows you have to use the WinMain(…) or wWinMain(…) function instead. Since you do not do so, your main(…) and a main(…) within a commonly linked object file do collide.
haegarrMember Since 10 Oct 2005
Offline Last Active Feb 07 2016 03:09 PM
Although being a professional programmer for years, game development is just one of my hobbies (nearly as long as programming yet, and that is a loooong time).
- Group Crossbones+
- Active Posts 3,939
- Profile Views 14,112
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown