标签:file pre com sts span class libcurl alt cpp
ubuntu16.04 cmake安装 apt-get install cmake
1、创建 CMakeLists.txt , main.cpp


2、cmake . 生成 makefile

3、遇到错误cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake) -> 解决方案
locate libcurl.so.4


4、cmake . 重新生成makefile

5、make 生成可执行文件

标签:file pre com sts span class libcurl alt cpp
原文地址:https://www.cnblogs.com/osbreak/p/11028447.html