Does anyone know how to open the samples from the text guide, Chapter 16 for W7?
I have already downloaded the emulator, cmake and Visual Studio.
The instructions are somewhat confusing for me on page 448.
trying to get started with the 'Hello Triangle' code.
Hello!
When I open CMake and locate folder it builds up the project, I believe.
I have already installed Adreno and Mali.
I am not sure what ' point CMAKE at the EGL and GLES libraries contained within the Adreno SDK' entails.
When I open the 'build folder', I click on 'Project.sln', it opens VS and this is the list of errors that I get.
For sure, I am missing a step here.
Lester R.
Hi Lester,
VS2013 is complaining that it can't find the include files (and therefore a bunch of undefined blah) 99% likely because you haven't set the include path to include the directory where they are stored.
The actual reason for this not just working however appears to be that you're pointing CMake at the directory for a specific example project, when you should be pointing it at the root directory of the repo you have cloned, in your case appears to be E:/OpenGL ES/opengles3-book-master/
Hth,
Chris
Hi Chris,
I am missing an entry here on my end.
This is what I entered in CMake GUI
and got this error.
Les
No such issues on my end:
Give it a try with 3.3.0-rc4 (latest available on the site at time of writing) and give a different directory for "Where to build the binaries" is worth doing.
Hello Chris.
Late reply from my part.
I can get CMake to configure and generate with no errors.
But it fails to point to any specific EGL Libraries.
In Visual Studio it generates error code C1083.
Thanks in advance.
Sincerely,
les
Starting with earliest error first, I noticed you're still pointing CMake at a specific sample code, you should instead be pointing it AT THE ROOT! In your case this looks to be E:/OpenGL ES/opengles3-book-master/
Cheers,
Deleted all files and uploaded them again.
It looks like I may have to alter a line somewhere on the CMake list.
It also says to look into build/CmakeFiles/CmakeOutput.log.
Can't find it. Will start again.
As the error states you just need to set EGL_LIBRARY and OPENGLES3_LIBRARY in the CMake window, you've left them as EGL_LIBRARY-NOTFOUND and OPENGLES3_LIBRARY-NOTFOUND respectively.