如何在64位窗口的OpenGL应用程序 [英] How to make OpenGL apps in 64-bits windows

查看:397
本文介绍了如何在64位窗口的OpenGL应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OpenGL的专家,

OpenGL experts,

我的项目编译,链接,并在XP32运行,那么,我试图穿越它编译成x64和我碰到了很多问题。

My project compiles, link and run in xp32 then I tried to cross compile it to x64 and I came across a lot of questions.

  1. 有没有原生的x64 instalable OpenGL的SDK,所以我反对什么?
  2. 链接
  3. 在我看到有人说,64位应用程序使用32位OpenGL的DLL。我tryied与司机我的显卡(RADEON 4850),同样我对XP32使用运行在XP64我编译的64位应用程序,我得到的典型错误唧唧歪歪,也许重新安装你的应用程序会解决这个问题
  4. 如果我使用视频卡驱动程序如何保持它与其他卡的工作,我应该建立一个版本的每一个? (没有意义)。我应该加载一个可用库dinamicaly? (同样没有意义)
  5. 这是参考实现64位?哪里可以找到它的库,来反对?
  6. 链接

我真的失去了这一问题。我做了很多searchs,并没有发现任何帮助我understant直到momment。

I'm really lost on that matter. I did a lot of searchs and found nothing that helped me understant till the momment.

那么,什么是道?我想知道,使原生64位的OpenGL应用程序?

So, what is the path? What I want to know to make native x64 OpenGL apps?

任何帮助是非常AP preciated!

Any help is highly appreciated!

推荐答案

64位OpenGL的导入库包含在的 Windows SDK的,然后被安装到的%ProgramFiles%\微软的SDK \的Windows \<版> \ LIB \ 64 \ OpenGL32.lib 。相应的DLL被命名为 OPENGL32.DLL ,位于的%SystemRoot%\ SYSTEM32 。 32位版本也被命名为 OPENGL32.DLL ,位于的%SystemRoot%\ Syswow64资料 64位视窗。

The 64-bit OpenGL import library is included in the Windows SDK and gets installed to %ProgramFiles%\Microsoft SDKs\Windows\<version>\Lib\x64\OpenGL32.lib. The corresponding DLL is named opengl32.dll and is located in %SystemRoot%\system32. The 32-bit version is also named opengl32.dll and is located in %SystemRoot%\syswow64 on 64-bit Windows.

您无法加载在64位进程的32位DLL,所以无论你阅读使用32位的DLL的OpenGL应用程序的x64是不正确的。肯定有一个64位的OpenGL DLL中,但它有32的名称中,presumably使移植更为简单。

You can't load 32-bit DLLs in a 64-bit process, so whatever you read about x64 apps using the 32-bit OpenGL DLL was incorrect. There is definitely a 64-bit OpenGL DLL, but it has "32" in its name, presumably to make porting easier.

这篇关于如何在64位窗口的OpenGL应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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