• LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'


    今天在自己的机器上安装EVC后,建立MFC工程,编译出现错误 :

    LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'

    INK : fatal error LNK1104: cannot open file 'mfcs42.lib'

     解决方法:

    找到   mfcs42d.lib   或   mfcs42.lib所在的目录,如我的机器是:  D:/Program   Files/Windows   CE   Tools/wce500/EMU_v0.1.0/Mfc/Lib/x86 
    在EVC菜单:Tools/Options...   的Options对话框中,选择Directories页面。在Show   directories中选择:Library   files,在下面的Directories:中增加上面的目录。即可正确进行编译了!!!

     

    安装过程中,在安装SDK时,可能会出现以下提示:

    “Virtual PC/Windows CE Emulator 安装的驱动程序会带来系统的稳定性问题。该驱动程序将会被禁用。”的提示。

    然后虽然安装进程可以继续,但是装好以后,做一个最简单的hellowword的例子,EVC不能编译,总是提示 one or more files from the Emulator for windows CE installation is missing.Please reinstall Emulator for windows CE and try again。

     

    解决方法: 禁止PAE功能。

    由于操作系统启用了PAE(物理地址扩展),PAE与Windows CE 模拟器以及Virtual PC模拟器会有冲突。 禁用PAE功能即可!  编辑PC系统的Boot.ini文件(在C盘根目录中直接编辑)

    或修改启动选项(系统->属性->高级->启动和故障恢复的设置->编辑)  将multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /Execute=AlwaysOff  /fastdetect 这句 

    修改的结果示例如下: multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect

    即删除/Execute 重新启动后,重新安装SDK即可。

  • 相关阅读:
    逝华
    数论知识
    #10081. 「一本通 3.2 练习 7」道路和航线 题解
    Tire 字典树
    Manacher算法
    时间变奏曲
    【算法】莫队
    【算法】深度优先搜索(dfs)
    【算法】数位 dp
    【笔记】关于位运算(2)
  • 原文地址:https://www.cnblogs.com/91program/p/5255559.html
Copyright © 2020-2023  润新知