Question

I am currently taking a college course in Computer Graphics and we are using Visual Studio 2012.

I am trying to get it set up to use freeGLUT and GLEW, but am currently not having any progress.

I have searched everywhere, but have not had any luck finding anything on using a Surface Pro to do this. My professor managed to get it to work on a desktop with Windows 8, but has not tried with a Surface Pro.

I currently do not have any other system to do this on or else I would use one, nor do I have the funds to purchase something else. The Surface Pro has been great for everything else so far, just not this.

UPDATE I have had some better luck so far using GLEE and freeGLUT. I am now getting this error.

1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\GL/gl.h(1157): error C2054: expected '(' to follow 'WINGDIAPI'

I included windows.h and now it is saying there are syntax errors in my gl.h

UPDATE 2 Program works now. the dll files are with the project files. I also had to reinstall Visual Studio 2012. Good news is IT WORKS! Thanks for those who showed interest and tried to help.

Was it helpful?

Solution

Like as always when it comes to OpenGL, Microsoft makes it not easy, because for some reason (we can only speculate about) they don't like OpenGL. Hence ever since Windows Vista they ship their products with no, or only limited OpenGL support.

The first step is, to go to Intel.com and download the latest OpenGL drivers for the GPU the Surface Pro uses.

This should give you proper OpenGL support, though the Intel drivers for Windows are only mediocre.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top