XCode linking to OpenSSL library

前端 未结 2 962
野性不改
野性不改 2021-01-07 01:20

I\'ve got a project that needs to link against the openssl libraries, although when i compile i have some issues.

#include 
#include <         


        
相关标签:
2条回答
  • 2021-01-07 01:55

    I don't think 'io.h' is an OpenSSL file. Are there any spaces in your Header Search Paths in the project's Build Settings? If so quote them like so: "My OpenSSL/includes"

    0 讨论(0)
  • 2021-01-07 01:58

    Solved by linking:

    libssl and libcrypto to target
    
    0 讨论(0)
提交回复
热议问题