OpenGL ES教程 - 'Winmain':函数不能重载 [英] OpenGL ES Tutorial - 'Winmain': function cannot be overloaded
问题描述
我试图学习OpenGL ES与OpenGL ES培训课程(OpenGL ES教程)。我使用OPENGL-ES 1.1 WINDOWS PC EMULATION与visual studio 2010.我试图编译hello三角形程序,并得到一个错误:
I'm trying to learn OpenGL ES with the "OpenGL ES Training Course" (An OpenGL ES tutorial). I use OPENGL-ES 1.1 WINDOWS PC EMULATION with visual studio 2010. I'm trying to compile the 'hello triangle' program and get an error:
'WinMain':函数不能重载
'WinMain': function cannot be overloaded
编辑:我在项目中只有一个WinMain定义: 'hello triangle'源代码(我没有写)。
I have only one definition of WinMain in the project: The one in the 'hello triangle' source code (which I didn't write).
有人能告诉我发生了什么吗?
Could anyone tell me what's going on?
推荐答案
听起来你有两个定义 WinMain
,或者一个原型和一个不同意的定义。
It sounds like you have two definitions of WinMain
, or perhaps a prototype and a definition that disagree.
这篇关于OpenGL ES教程 - 'Winmain':函数不能重载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!