开发者

ld: library not found for -lssl collect2: ld returned 1 exit status

开发者 https://www.devze.com 2023-03-10 21:18 出处:网络
i try to use libcurl.a library in my app project. I have add that lib on framework list, and now i want to called some headers from that lib. The headers are :

i try to use libcurl.a library in my app project. I have add that lib on framework list, and now i want to called some headers from that lib. The headers are :

#include "curl.h"
#include "types.h"
#include "easy.h"

but, when i try to build my project, xcode give me 1 error, that is :

ld: library not found for -lssl 
collect2: ld returned 1 exit status 
Command /Develop开发者_Python百科er/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

i dont understand about this error, can somebody help me?? Thank you

Risma


iOS appears to include neither libcurl nor libssl. Unless you've built these yourself and are statically linking them into your application, you will not be able to use them: the library is not found because it is not present. If you are statically linking them, you must also acknowledge that your software includes them somewhere in your application to comply with their license terms.

0

精彩评论

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