[ Win32 CE API Programming for Smartphone HOME | TrajectoryLabs ]

Getting Setting with OpenGL GLUT|ES for Smartphone using Pelles C


Introduction

The OpenGL Utility Toolkit (GLUT), originally written by Mark Kilgard, is a window system independent toolkit for writing OpenGL programs and is available free for commercial and non-commercial use. 

GLUT|ES Download

Visit Sourceforge.net at  http://glutes.sourceforge.net/ to download GLUT|ES. 

Installing GLUT|ES for Smartphone and Pelles C

Once you have unzipped the download, copy the following files to the following locations:

Source file
Target location


dll files

\Lib\sparmv4rel\glutes.dll
\Windows directory on Smartphone


library files

\Lib\sparmv4rel\glutes.lib
PellesC\Lib\Win
\Lib\sparmv4rel\glutes_static.lib PellesC\Lib\Win


header files
\Inc\GLES\glutes.h
PellesC\Include\Win\GLES


Configuring Pelles C for GLUT|ES

The PellesC Linker needs to be configured for Vincent.

In Project Options-Linker add glut.lib to the list of library and object files:

glut es linker options




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