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

查看:97
本文介绍了为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.

我有一个allegro 5应用程序,需要在Windows XP 32bit上运行

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

我已经在VS C ++ 2012中创建了此应用程序。我尝试使用平台工具集vs 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:

the过程入口点GetTickCount64不能位于动态链接库KERNEL32.dll中

"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?

你们都认为是什么?

谢谢,
Sonny。

Thanks, Sonny.

推荐答案

您需要花费更多的精力才能使用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天全站免登陆