VS2012 nmake使用v110_xp工具集? [英] VS2012 nmake using v110_xp toolset?

查看:1904
本文介绍了VS2012 nmake使用v110_xp工具集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用nmake编译时,是否有使用 v110_xp 工具集(而不是默认的v110)的方法?

Is there a way to use v110_xp toolset (instead of default "v110") when compiling with "nmake" ?

m试图编译Visual Studio2012的Qt5库,我需要它在Windows XP机器上工作。我有managet使用带有nmake的VS2012编译所有Qt5库,但即使简单的测试应用程序无法运行在XP机器给我程序入口点_except_handler4_common不能位于动态链接库msvcrt.dll 。 (在Windows 7计算机上我的测试应用程序正常工作)

I'm trying to compile a Qt5 library for VisualStudio2012 and I need it to work on Windows XP machines too. I've managet to compile all Qt5 libraries using VS2012 with nmake, but even simple test applications fails to run on XP machines giving me the "The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll". (On Windows 7 machines my test application is working normally)

推荐答案


  1. 编辑 Makefile.Debug Makefile.Release 文件

  2. -D_USING_V110_SDK71 _ 添加到DEFINES

  1. Edit Makefile.Debug or Makefile.Release file
  2. Add -D_USING_V110_SDK71_ to DEFINES

示例:

DEFINES = -D_USING_V110_SDK71_ -DUNICODE - DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG

祝你好运!

这篇关于VS2012 nmake使用v110_xp工具集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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