How can I get rid of the __imp__ prefix in the linker in VC++?

后端 未结 5 1211
野性不改
野性不改 2020-12-01 06:29

I\'m using libcurl and am getting the following sort of linker errors in VC++ 10.

1>main.obj : error LNK2019: unresolved external symbol __imp__curl_easy_         


        
5条回答
  •  抹茶落季
    2020-12-01 06:40

    You have to add CURL_STATICLIB to Preprocessor Definitions at the properties of your projects in MSVC

提交回复
热议问题