![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mac开发
陈清平
程序员
展开
-
Mac上用cmake build jsoncpp
安装步骤:下载源码:https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.4解压进入目录:cd jsoncpp运行命令build(默认生成Release):mkdir -p build && cd build && cmake … && make生成的exe在这个目录:jsoncpp/build/bin动态库和静态库在这个目录:jsoncpp/build/lib...原创 2020-09-30 17:04:00 · 598 阅读 · 0 评论 -
Mac上用brew安装cmake
安装打开brew官网:https://brew.sh/安装就一句脚本:/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”报错安装到com.apple.dt.CommandLineTools.installondemand.in-progress 时报错,手动去苹果网站下载Xcode Command Line Tools:https://developer.原创 2020-09-30 16:54:13 · 6985 阅读 · 0 评论