~rsalveti/linaro-graphics-misc/glew-es-core-trunk

Viewing all changes in revision 632.

  • Committer: Shariq
  • Date: 2011-10-11 10:59:32 UTC
  • Revision ID: git-v1:d542d318a7a6462d3adefa38ada21b270ae8c3b9
The file "Makefile.arm-linux" is added to compile glew for ARM linux
Steps for building glew for ARM-Linux ES 2.0:

  1. export following environment variables:

   COMPILER_PATH : Path of the compiler
   INC_PATH : Include files path
   LIB_PATH : Opengl/egl/x11 library path
   ADDITIONAL_LIB_DEPENDENCY_PATH: Path for any additional dependencies of the libs.

   2. Build command :
 - To build generic(INCLUDING entry point and enums of desktop and ES OpenGL) glew for OpenGL ES 2.0 along with EGL(need to include eglew.h in application):
   make BUILD_GLEW_ES20=yes BUILD_GLEW_EGL=yes

 - To build generic glew for OpenGL ES 2.0 without EGL(need to include egl.h):
   make BUILD_GLEW_ES20=yes

 - To build glew for Desktop OpenGL(INCLUDING entry point and enums of ES)
   make

 - To build glew for Desktop OpenGL(EXCLUDING entry point and enums of ES)
  make BUILD_NO_ES=yes

 - If needed to run using emulator on desktop kindly remove '-mfpu=vfp -mfloat-abi=softfp' from makefile.arm-linux

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: