为 Windows XP 构建 allegro 5 [英] Build allegro 5 for Windows XP

查看:16
本文介绍了为 Windows XP 构建 allegro 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一整天都在寻找答案.我还没有找到一个有效的,所以我发布了一个问题并询问了很棒的 stackoverflow.

I've spent all day looking for answers. I haven't found one that works, so im posting a question and asking the great stackoverflow.

我有一个需要在 windows xp 32 位机器上运行的 allegro 5 应用程序.

I have an allegro 5 application that needs to run on a windows xp 32bit machine.

我在 VS C++ 2012 中制作了这个应用程序.我尝试使用平台工具集与 2012 windows xp (v110_xp) 构建该项目,但没有奏效.

Ive made this application in VS C++ 2012. Ive tried to buld the project with the platform toolset vs 2012 windows xp (v110_xp), this didn't work.

问题是当我尝试在 XP 中运行 .exe 时,我得到:

the problem is that when I try to run the .exe in XP i get a:

在动态链接库KERNEL32.dll中找不到过程入口点GetTickCount64"

"the procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll"

我非常肯定这是因为 Allegro 5 库.
我似乎无法解决这个问题.

Im pretty positve that this is because of the allegro 5 library.
I can't seem to figure out to work around this.

我想我必须重建 allegro 5 才能与 windows xp 一起使用吗?

Im thinking I have to rebuild allegro 5 for use with windows xp?

大家觉得呢?非常感谢任何帮助.

What do you all think it is? Any help is much appreciated.

谢谢,桑尼.

推荐答案

您需要付出额外的努力来使用 Visual Studio 2012 为 Windows XP 构建.请参阅 这篇博文 了解更多信息.如果您自己构建 Allegro,那么如果您按照这些步骤操作,您可能会使其面向 Windows XP.

You need to take extra effort to build for Windows XP using Visual Studio 2012. See this blog post for more information. If you build Allegro yourself, you could probably get it to target Windows XP if you follow those steps.

支持 Windows XP 的其他选项是使用 MinGW 或旧版本的 MSVC.

Your other options to support Windows XP are to use MinGW or an older version of MSVC.

这篇关于为 Windows XP 构建 allegro 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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