Build allegro 5 for Windows XP

和自甴很熟 提交于 2019-12-11 09:06:09

问题


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.

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

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.

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

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

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

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.

Thanks, Sonny.


回答1:


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.

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



来源:https://stackoverflow.com/questions/15307170/build-allegro-5-for-windows-xp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!