0
当试图给出有无效的参数和等使用Android NDK错误Eclipse来编写这些功能:OpenGL ES的编译错误
m_Display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
m_Surface = eglCreateWindowSurface(m_Display, lConfig,
m_Application->window, NULL);
的错误:
Invalid arguments ' Candidates are: void * eglGetDisplay(?)
Type 'EGL_DEFAULT_DISPLAY' could not be resolved
Invalid arguments ' Candidates are: void * eglCreateWindowSurface(void *, void *, ?, const int *)
当鼠标悬停在这些函数上时,tooltip eclipse会显示 作为输入变量的问号。我认为日食没有找到它应该包括的一些代码,但我不知道如何解决它。
你的代码中是否包含#include? –
codetiger
2012-07-25 07:36:05
是的,我有:)其包含在.hpp文件中 – aerlfredith 2012-07-25 07:53:55
即时思考eclipse不认识任何东西eglplatform.h这是包括和知道,但显然被忽略。 仍然不知道如何解决它,虽然 – aerlfredith 2012-07-25 13:45:58