Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi.

When linking, I am output the following four functions to unsettled symbol (VC++ error LNK2019) though I want to use.

glCurrentPaletteMatrixOES
glLoadPaletteFromModelViewMatrixOES
glMatrixIndexPointerOES
glWeightPointerOES

Four "GLES/gl.h", "GLES/glESext.h", "GLES/egl.h", and "GLES/EGLext.h" are done and include is done to the source that uses the function.
Three files of "EGL_1x.c", "GLES_1x.c", and "GLES_ext.c" are added to the project, and GL_OES_VERSION_1_1 is defined.

What should I do besides to use functions?

SDK : BREW 4.0.1.54 and OPENGLES_Convergence_Platform153.msi

The MSM7k solution in fact uses the OpenGL ES 1.0 API with the addition of extensions. All of the main OpenGL ES 1.1 functions are available through these extensions. For example:
PFNGLCURRENTPALETTEMATRIXOESPROC ext_glCurrentPaletteMatrixOES;
ext_glCurrentPaletteMatrixOES = (PFNGLCURRENTPALETTEMATRIXOESPROC)eglGetProcAddress("glCurrentPaletteMatrixOES");
GL_OES_VERSION_1_1 should NOT be defined when compiling your project for MSM7201, MSM7201A or MSM7500.

The MSM7k solution in fact uses the OpenGL ES 1.0 API with the addition of extensions. All of the main OpenGL ES 1.1 functions are available through these extensions. For example:
PFNGLCURRENTPALETTEMATRIXOESPROC ext_glCurrentPaletteMatrixOES;
ext_glCurrentPaletteMatrixOES = (PFNGLCURRENTPALETTEMATRIXOESPROC)eglGetProcAddress("glCurrentPaletteMatrixOES");
GL_OES_VERSION_1_1 should NOT be defined when compiling your project for MSM7201, MSM7201A or MSM7500.