简体   繁体   中英

Build allegro 5 for Windows XP

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM