1

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.

4

1 に答える 1

0

OpenGL に関してはいつものように、Microsoft は簡単ではありません。なぜなら、何らかの理由で (推測することしかできません)、彼らは OpenGL を好まないからです。そのため、Windows Vista 以降、OpenGL サポートなし、または制限付きで製品を出荷しています。

最初のステップは、Intel.com にアクセスして、Surface Pro が使用する GPU 用の最新の OpenGL ドライバーをダウンロードすることです。

これにより、適切な OpenGL サポートが提供されるはずですが、Windows 用の Intel ドライバーは平凡なものにすぎません。

于 2013-08-17T23:31:32.307 に答える