开发者

Compiling a project with libcurl in cygwin

I am not entirely sure how to compile a file with cygwin so it links with libcurl properly. I installed the libcurl library with cygwin's package instal开发者_开发技巧ler so I don't think there's anything wrong with that I'm just not sure what the syntax for the command will be. Any help is appreciated, thanks!


Something like gcc -Wall -o curluser curluser.c -lcurl should work. Similar to linking math library with -lm.

Or, what did you try so far and what happened and what did you expect to happen?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜