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即可。
相關文章
- Fatal error: Cannot redeclare printerror() (previously declared in …Error
- 編譯問題解決:LINK : fatal error LNK1104: 無法開啟檔案“*.dll”編譯Error
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directoryAIErrorObject
- xtrabackup: Error: cannot open /../../base/xtrabackup_checkpointsError
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- fatal error LNK1104: 無法開啟檔案“libExtensions.obj”ErrorOBJ
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- "Fatal error: Call to undefined function: file_put_contents()"ErrorUndefinedFunction
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- PHP Fatal error: Cannot use PhpParser\Node\Scalar\String as StringPHPError
- Fatal Error: TXK Install Service,Cannot install Oracle Database HomeErrorOracleDatabase
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- 452 Error writing file: A file cannot be larger than the value set by ulimit.ErrorMIT
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- O/S-Error: (OS 33) The process cannot access the fileError
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- 問題1.libXp.so.6: cannot open shared object file: No such file or directoryObject
- FILE ON OCFS CANNOT BE DELETED LINUX ERROR: 16: DEVICE OR RESOURCE BUSYdeleteLinuxErrordev
- Ubuntu下 fatal error: Python.h: No such file or directory 解決方法UbuntuErrorPython
- libiconv.so.2: cannot open shared object file: No such filObject
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- shared libraries: libpthread.so.0: cannot open shared object file: No such file or directorythreadObject
- “no source“: Error: #5: cannot open source input file “C:\Users\xxx\AppData\Local\Temp\p4228: PermiErrorAPP
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- Linux 錯誤:fatal error: uuid/uuid.h: No such file or directoryLinuxErrorUI
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- opensuse13.1 安裝chrome報 error while loading shared libraries:libudev.so.0:cannot open shared object file:no file or directoryChromeErrorWhiledevObject
- 解決ImportError: libmysqlclient_r.so.16: cannot open shared object fileImportErrorIBMMySqlclientObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject