Visual Studio - Missing OGLES Headers
-
- Posts: 61
- Joined: Mon Oct 08, 2012 1:46 pm
Visual Studio - Missing OGLES Headers
Checked out the OGLES Development brach and opened an VS Example. getting errors that, for example, "GLES/egl.h" can not be found.
What is to do to solve this? Thanks!
What is to do to solve this? Thanks!
Re: Visual Studio - Missing OGLES Headers
Which OGL SDK dou you use on Windows? In upcoming days I'll merge ogl-es branch with trunk with a lot of improvements for OGL driver - eg. shared OpenGL driver code partially available in trunk now. After that I'll be able to finally send a commit with the new iOS/OSX projects.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
-
- Posts: 61
- Joined: Mon Oct 08, 2012 1:46 pm
Re: Visual Studio - Missing OGLES Headers
We are trying to use Open GL 2, but we don't know how to embed Open GL into the VS project
Re: Visual Studio - Missing OGLES Headers
I also have a problem with the latest trunk and gcc/MinGW:
In the new file COGLCoreCacheHandler.h the function call glUseProgram(programID)
seems not to be known to the compiler.
In the new file COGLCoreCacheHandler.h the function call glUseProgram(programID)
seems not to be known to the compiler.
-
- Posts: 61
- Joined: Mon Oct 08, 2012 1:46 pm
Re: Visual Studio - Missing OGLES Headers
We are getting > 300 Errors with missing functions... What would we have to do?
Re: Visual Studio - Missing OGLES Headers
@IrrlichtForiOS
If you want to use just OpenGL in ogl-es branch, please comment following definitions: _IRR_COMPILE_WITH_OGLES1_ and _IRR_COMPILE_WITH_OGLES2_ in irrCompileConfig.h.
@AReichl
Thanks for information, I'll fix it today.
If you want to use just OpenGL in ogl-es branch, please comment following definitions: _IRR_COMPILE_WITH_OGLES1_ and _IRR_COMPILE_WITH_OGLES2_ in irrCompileConfig.h.
@AReichl
Thanks for information, I'll fix it today.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
-
- Posts: 61
- Joined: Mon Oct 08, 2012 1:46 pm
Re: Visual Studio - Missing OGLES Headers
It's Irrlicht 1.9.0 ole-es branch.
getting this error now..
getting this error now..
Code: Select all
Error 1 error LNK2019: unresolved external symbol "public: __thiscall irr::video::CWGLManager::CWGLManager(void)" (??0CWGLManager@video@irr@@QAE@XZ) referenced in function "private: void __thiscall irr::CIrrDeviceWin32::createDriver(void)" (?createDriver@CIrrDeviceWin32@irr@@AAEXXZ) C:\Users\nbong\Documents\Irrlicht\source\Irrlicht\CIrrDeviceWin32.obj Irrlicht
Re: Visual Studio - Missing OGLES Headers
Please add CWGLManager.cpp (it exists in source/Irrlicht/) to project. This issue will be fixed after the upcoming merge.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: Visual Studio - Missing OGLES Headers
Only a question out of curiosity:
Why did you (have to) change the name extGlUseProgram to irrGlUseProgram (to get it to compile) ?
Why did you (have to) change the name extGlUseProgram to irrGlUseProgram (to get it to compile) ?
Re: Visual Studio - Missing OGLES Headers
I replaced from:
to:
"irr" vs "ext" don't matter here. I choosed "irr" prefix instead of "ext" prefix, because "ext - extension" isn't good in some cases (eg. when we use Core functionality), thats why "irr" prefix is better IMHO and will be used in all methods related to OGL in future.
Code: Select all
glUseProgram(programID);
Code: Select all
Driver->irrGlUseProgram(programID);
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes