Windows編譯錯誤記錄

2021-08-31 03:11:01 字數 448 閱讀 8280

現在常用的vs版本有vs2005、vs2010、vs2013、vs2015等,vs裡面工程設定又分為md、mdd、mt、mtd等。正是由於這麼多的可選項,導致很多莫名其妙的編譯問題。本編部落格旨在記錄我在windows上的錯誤記錄,方便後續查閱,以後有新的問題,也會直接在這篇基礎上進行新增。

錯誤1:

編譯乙個工程,最開始設定是mtd,編譯成功,後面改為mt,編譯失敗,報出:

msvcrtd.lib(_chandler4gs_.obj) : error lnk2001: unresolved external symbol __except_handler4_common
解決方法:看提示,是找不到_except_handler4_common這個符號,而這個符號是在vc執行庫裡面的。所以在將vcruntime.lib新增到工程的"additional dependencies"即可。

android 編譯錯誤記錄

1 android resource linking failed daemon aapt2 aapt2 3.2.1 4818971 windows daemon 0 android design bottom sheet slide in not found 沒找到錯誤,突然出現了這個錯誤,說是要...

cocos2dx 中文路徑編譯錯誤記錄

q 不是內部或外部命令,也不是可執行的程式 1 或批處理檔案。1 y 不是內部或外部命令,也不是可執行的程式 1 或批處理檔案。1 c program files x86 msbuild microsoft.cpp v4.0 v110 microsoft.cppcommon.targets 129,...

windows7 caffe gpu編譯錯誤

錯誤 1 error msb3073 caffe master windows scripts binplacecudadependencies.cmd c program files nvidia gpu computing toolkit cuda v7.5 bin c program file...