Yes, Opengl ES 1.0 -> gl.h dont have glTexParameterfv and glTexEnvi...

Im trying to compile with 1.1 version and have these link errors:


Code:
3>------ Build started: Project: osg, Configuration: Debug Win32 ------
3>Linking...
3>   Creating library C:\Documents and Settings\aardanza\My 
Documents\OSG\OpenSceneGraph-2.9.7\build\lib\Debug\..\osgd.lib and object 
C:\Documents and Settings\aardanza\My 
Documents\OSG\OpenSceneGraph-2.9.7\build\lib\Debug\..\osgd.exp
3>Depth.obj : error LNK2019: unresolved external symbol __imp__gldepthran...@8 
referenced in function "public: virtual void __thiscall osg::Depth::apply(class 
osg::State &)const " (?ap...@depth@osg@@ubexaavst...@2@@Z)
3>Fog.obj : error LNK2019: unresolved external symbol __imp__glf...@8 
referenced in function "public: virtual void __thiscall osg::Fog::apply(class 
osg::State &)const " (?ap...@fog@osg@@ubexaavst...@2@@Z)
3>LightModel.obj : error LNK2019: unresolved external symbol 
__imp__gllightmod...@8 referenced in function "public: virtual void __thiscall 
osg::LightModel::apply(class osg::State &)const " 
(?ap...@lightmodel@osg@@ubexaavst...@2@@Z)
3>C:\Documents and Settings\aardanza\My 
Documents\OSG\OpenSceneGraph-2.9.7\build\bin\Debug\..\..\bin\osg63-osgd.dll : 
fatal error LNK1120: 3 unresolved externals
3>Build log was saved at "file://c:\Documents and Settings\aardanza\My 
Documents\OSG\OpenSceneGraph-2.9.7\build\src\osg\osg.dir\Debug\BuildLog.htm"
3>osg - 4 error(s), 0 warning(s)
4>------ Build started: Project: osgUtil, Configuration: Debug Win32 ------
5>------ Build started: Project: osgDB, Configuration: Debug Win32 ------
4>Linking...



Im using OGLES-1.1_WINDOWS_PCEMULATION_2.06.26.0649 headers:


Code:

//gl.h
#ifndef __gl_h_
#define __gl_h_

#include <GLES/glplatform.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 * This document is licensed under the SGI Free Software B License Version
 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
 */

typedef void             GLvoid;
typedef unsigned int     GLenum;
typedef unsigned char    GLboolean;
typedef unsigned int     GLbitfield;
typedef khronos_int8_t   GLbyte;
typedef short            GLshort;
typedef int              GLint;
typedef int              GLsizei;
typedef khronos_uint8_t  GLubyte;
typedef unsigned short   GLushort;
typedef unsigned int     GLuint;
typedef khronos_float_t  GLfloat;
typedef khronos_float_t  GLclampf;
typedef khronos_int32_t  GLfixed;
typedef khronos_int32_t  GLclampx;

typedef khronos_intptr_t GLintptr;
typedef khronos_ssize_t  GLsizeiptr;


/*************************************************************/

/* OpenGL ES core versions */
#define GL_VERSION_ES_CM_1_0          1
#define GL_VERSION_ES_CL_1_0          1
#define GL_VERSION_ES_CM_1_1          1
#define GL_VERSION_ES_CL_1_1          1
...



I'm doing tests with a mobile that supports OpenGL ES 1.0, but not supported by 
the PowerVR sdk ...
Now I have a demo running with Vicent ES 1.x, 
http://sourceforge.net/projects/ogl-es/files/.
But first make it work with 1.1...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27148#27148





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to