安装spdlog

git clone https://github.com/gabime/spdlog.git

1、只需复制其头文件

下载之后,只需要用把里面的spdlog文件夹放到自己工程的include目录上,编写CMakeLists.txt,再在main.cpp中#include "spdlog/spdlog.h"即可。

2、安装到linux路径中

cd spdlog && mkdir build && cd build

cmake .. && make -j

sudo make install

相关推荐
草上爬7 小时前
OpenWrt:使用ALSA实现边录边播
ubuntu·openwrt·record·alsa·play
藥瓿亭13 小时前
K8S认证|CKS题库+答案| 6. 创建 Secret
运维·ubuntu·docker·云原生·容器·kubernetes·cks
舰长11514 小时前
Ubuntu挂载本地镜像源(像CentOS 一样挂载本地镜像源)
linux·ubuntu·centos
Theodore_102214 小时前
大数据(2) 大数据处理架构Hadoop
大数据·服务器·hadoop·分布式·ubuntu·架构
Unpredictable22216 小时前
【VINS-Mono算法深度解析:边缘化策略、初始化与关键技术】
c++·笔记·算法·ubuntu·计算机视觉
姓刘的哦18 小时前
ubuntu中使用docker
linux·ubuntu·docker
MrWang.18 小时前
Ubuntu中SSH服务器安装使用
服务器·ubuntu·ssh
_lizhiqiang18 小时前
联想拯救者R9000P 网卡 Realtek 8852CE Ubuntu/Mint linux 系统睡眠后,无线网卡失效
linux·运维·ubuntu·r9000p·无线网卡·8852ce
笑醉踏歌行20 小时前
NVM,Node.Js 管理工具
运维·ubuntu·node.js
bbsh20991 天前
WebFuture:Ubuntu 系统上在线安装.NET Core 8 的步骤
linux·ubuntu·.netcore·webfuture