开发者

linking libcurl in Visual Studio 8

I have a C project needed to be compiled into a DLL.

This C project includes . I had compiled a libcurl.dll from source with VS2008.

I put the 开发者_StackOverflow社区libcurl.dll in C:\Windows\System32 (I suppose this serves as installing the DLL)

Now, when I compile my own C project, it says 'cannot open include file curl/curl.h'.

Did I miss any steps? Sorry I'm really new to Windows system.

Thanks in advance!


You need to add the path to curl/curl.h as an additional include directory in your project settings. Right click on the project, go to properties, and it's under the compiler section.

You'll also need to add curl.lib as a input library under your linker settings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜