如何设置代码块以使用Windows SDK? [英] How to setup codeblocks to work with windows SDK?

查看:106
本文介绍了如何设置代码块以使用Windows SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现我的Code :: Blocks的Windows标题非常糟糕。我希望它使用SDK。



我尝试过:



让CB查看SDK文件夹,它会导致编译时出现大量问题。

I found out my Code::Blocks has really poor windows headers. I want it to use SDK ones.

What I have tried:

Making CB look into SDK folder, it causes big amount of problems with compiling.

推荐答案

OpenGL是语言中立的,即你可以在Windows中编写你的OpenGL程序,Java,Linux,Mac等。在Windows下,还有很多方法可以编写OpenGL程序。例如,Win32 API直接,GLUT或FreeGLUT,SDL(Single DirectMedia Layer),Allegro等。



Nehe的课程在Win32 API中解释,这很复杂,很麻烦而且很难理解。尽管如此,解决方案还可以移植到所有其他平台。我强烈建议您遵循使用GLUT的解决方案(这极大地简化了与Windows的交互)。
OpenGL is language neutral, i.e., you can write your OpenGL programs in Windows, Java, Linux, Mac, etc. Under Windows, there are again many ways to write a OpenGL program. e.g., Win32 API directly, GLUT or FreeGLUT, SDL (Single DirectMedia Layer), Allegro, etc.

Nehe's lessons are explained in Win32 API, which is complex, cumbersome and hard and to understand. Nonetheless, the solutions are also ported to all the other platforms. I strongly suggest that you follow the solution using GLUT (which greatly simplifies interaction to Windows).


这篇关于如何设置代码块以使用Windows SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆