Linux libenv 编译移植

编译环境:ubuntu 20.04

 

git clone https://github.com/libevent/libevent.git
md build && cd build
cmake   ../

 报错如下:

Could NOT find MbedTLS (missing: MBEDTLS_INCLUDE_DIR MBEDTLS_LIBRARY
  MBEDTLS_CRYPTO_LIBRARY MBEDTLS_X509_LIBRARY MBEDTLS_LIBRARIES
  MBEDTLS_VERSION)

  

修改方式:

cmake -DEVENT__DISABLE_MBEDTLS=ON ../
make
make install

  

成功

Linux  libenv 编译移植

 

Linux libenv 编译移植

上一篇:Eclipse创建Robot Poject后 标准库关键字数量为0


下一篇:Photoshop 一个漂亮的紫色面具