This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem while building sample code from opengles3-book with Window7 and using ARM Mali OpenGL ES 3.1 Emulator

Please help me solve this problem. This is what I’ve done,

1. Install Mali OpenGL ES Emulator v3.0.1

2. I able to run the rotating cube

3. Install CMake2.8

4. I’ve followed the Ch. 16 of OpenGL ES 3.0 Programming Guide, 2nd Edition in order to build this sample
(opengles3-book/Chapter_2/Hello_Triangle at master · danginsburg/opengles3-book · GitHub ). Below are the steps.

4.1. Open CMake-gui

4.2. Browse the source file to the folder of “Hello_Triangle” (see image 1 )

4.3. Create a build folder and browse to it (output folder)

4.4. Click Configure

4.5. Change value of “CMAKE_INSTALL_PREFIX ” to the path of Hello_Triangle

4.6. Click “Add Entry” to add path of libEGL.lib (path is in the folder of Mali Emulator, see image 1 )

4.7. Click “Add Entry” to add path of libGLESv2.lib (path is in the folder of Mali Emulator, see image 1)

4.8. Click Configure again and then click Generate

4.9. In build folder, run the Project file “Project.sln”

4.10. Set Additional Includes Directories to the include folder in the book's code (see image 2)

5. Build the project and then I’ve got this error that I can’t solve it. (see image 3)

image4.JPG

    ^ (image 1)

image2.JPG

    ^ (image 2)

image3.JPG

    ^ (image 3)

By the way, i'm using Microsoft Visual C++ 2010 to run the project file from CMake.

Parents Reply Children
No data