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

后端 未结 5 1223
野性不改
野性不改 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:41

    If using wizard generated projects - check "Runtime settings" value in project properties -> C/C++ -> Code Generation section.

    By default it usually has "Multithreaded DLL" value. You need Multithreaded /MT and Multithreaded Debug /MTd values.

提交回复
热议问题