Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to add "GLEW" or "GLee" to GLCtrl?
Re: How to add "GLEW" or "GLee" to GLCtrl? [message #36157 is a reply to message #36154] Mon, 07 May 2012 11:35 Go to previous message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
Quote:


Take a look at WinGl package. You can just copy glew related files from there to your project and add following settings to upp project:
-D_WIN32 -DGLEW_STATIC

http://code.google.com/p/upp-mirror/source/browse/#svn%2Ftru nk%2Frainbow%2FWinGl




Thank you very much unodgs. Much appreciate your help!! Very Happy I made the silly mistake of #define GLEW_STATIC after the #include <glew files>. Looking at WinGL.h found the correct way. also I used the modified glew files from the WinGL project as you said.

#ifndef GLEW_STATIC
    #define GLEW_STATIC
#endif

#include <glew/glew.h>
#include <glew/wglew.h>

[Updated on: Mon, 07 May 2012 12:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Drad & Drop individual cell in ArrayCtrl..??
Next Topic: Form with OpenGL Display object
Goto Forum:
  


Current Time: Sun Aug 24 16:34:54 CEST 2025

Total time taken to generate the page: 0.04443 seconds