Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I created a simple capture from camera program in VS2012 , Win 7 , OpenCV 2.4.6 and compiled it with "Visual Studio 2012 - Windows XP (v110_xp)" option. Also added "WINVER=0x0501" and "_WIN32_WINNT=0x0501" to my preprocessor option.

But still get "The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll" error in Windows XP.

Please help me solve this problem. Thank you

If you use runtime dynamic libaries, make sure you do use Visual Studio runtime libraries that are compatible with Windows XP/Windows 2003:

msvcr110.dll msvcp110.dll

You should use at least version 11.0.561106.1 of those files.

You can install Visual Studio 2012 update 4 to get them.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .