[ Win32 CE API Programming for Smartphone HOME | TrajectoryLabs ]

Getting Setting with Vincent OpenGL ES
for Smartphone using Pelles C


Introduction

The Vincent Mobile 3D Rendering Library is available free for commercial and non-commercial use.  Vincent comes with its own window management functions, called UG.

Vincent Download

Visit Sourceforge.net at  http://sourceforge.net/project/showfiles.php?group_id=87506 to download Vincent. 

Installing Vincent for the Moto Q Smartphone and Pelles C

Once you have downloaded and unzipped Vincent, copy the following files to the following locations:

Source file
Target location


dll files

\bin\arm\Release\libGLES_CM.dll
\Windows directory on Smartphone


library files

\bin\arm\Release\codegen.lib
PellesC\Lib\Win
\bin\arm\Release\libGLES_CM.lib
\bin\arm\Release\ug.lib


header files
include\ug.h
PellesC\Include
include\GLES\egl.h PellesC\Include\Win\GLES (new directory)
include\GLES\egltypes.h PellesC\Include\Win\GLES (new directory)
include\GLES\gl.h PellesC\Include\Win\GLES (new directory)
include\GLES\glext.h PellesC\Include\Win\GLES (new directory)


Configuring Pelles C for Vincent

The PellesC Linker needs to be configured for Vincent.

In Project Options-Linker add codegen.lib, libGLES_CM.lib and ug.lib to the list of library and object files:

vincent linker options


In Project Options-Compiler add WIN32  to the list of preprocessor symbols:

vincent preprocessor symbols


New Projects in Pelles C

When starting new Vincent OpenGL projects in PellesC, use a  WINCE Smartphone Program (EXE)  empty project.

empty project 


UG Code Samples

Under Construction




Copyright © Christopher Hill (Trajecto). All rights reserved.