設置VS 基本環境路徑//dir+dll+lib

一. 設置引用外部頭文件路徑

       1.  【 右鍵工程 】 ==> 【 properties 】 ==> 【 Configuration Properties 】 ==> 【 C/C++ 】 ==> 【 General 】 ==> 【 Additional Include Directories 】 添加路徑到此項中。

二. 添加 lib 庫

       2.  【 右鍵工程 】 ==> 【 properties 】 ==> 【 Configuration Properties 】 ==> 【 Linker 】 ==> 【 Input 】 ==> 【 Additional Dependencies】 添加lib文件路徑到此項中.即: 文件夾路徑+文件名+後綴名。

三. 添加 dll 庫

       3.  【 右鍵工程 】 ==> 【 properties 】 ==> 【 Configuration Properties 】 ==> 【 Debugging 】 ==> 【 Working Directory 】 添加dll 所在的目錄到此項

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章