2017-03-27 79 views
0

正試圖鏈接C++ Windows運行時組件項目中的curl。我做了以下1.從塊金安裝捲曲包。所以引用的軟件包是rmt_curl,rmt_openssl,rmt_libssh2,openssl,rmt_zlib,zlib,libssh2,curl。 2.預處理定義我添加了WIN32_LEAN_AND_MEAN和CURL_STATIC_LIB。我沒有添加靜態庫依賴項,因爲:a。我找不到爲ARM平臺編譯的libcurl.lib。 2.因爲我通過金塊安裝它。將Curl鏈接到Windows運行時VC++項目[UWP 10 Mobile App]

錯誤

嚴重性代碼說明項目文件的線路抑制狀態錯誤LNK2019解析的外部符號curl_easy_init函數「公共引用:虛擬無效__cdecl WindowsRuntimeComponent2 :: 1類:: [WindowsRuntimeComponent2 :: __ IClass1PublicNonVirtuals] ::測試(無效) 「(?測試@ Q__IClass1PublicNonVirtuals @ WindowsRuntimeComponent2 @@ Class1的@ 2 @ U $ AAAXXZ)WindowsRunentimeComponent2 C:\用戶\阿布舍克\文件\的Visual Studio 2015年\項目\ WindowsRuntimeComponent2 \ WindowsRuntimeComponent2 \ Class1.obj

有人可以請幫助。附在項目設置的屏幕截圖中。

Vc++ Project Settings

回答

0

不知道這是否會幫助,但它不是CURL_STATICLIB CURL_STATIC_LIB

相關問題