简介
在wsl
上搭建zephyr
环境的时候,需要升级cmake
,特此记录一下
过程
获取cmake
源码,这里选择的是3.23
版本
sudo wget https://cmake.org/files/v3.23/cmake-3.23.0.tar.gz
sudo tar -zxvf cmake-3.23.0.tar.gz
解压cmake
源码后,进行配置
sudo ./configurre
编译
sudo make -j8
安装
sudo make install
cmake --version
查看系统的cmake
版本,如果是我们刚刚编译安装的3.23
版本,那么到这里就ok了
如果还不是的话,因为现在系统有两个cmake
的版本,所以我们需要建立下软链接
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 -force
参考链接
FEATURED TAGS
Ubuntu
markdown
stm32
OSDK
飞控
串口
Jscope
C
C++
bin
J-Flash
字符串
指针数组
malloc
vscode
svg
png
github
python
CMake
CMakeLists
Linux
拷贝构造函数
GIF
录屏
docker
操作系统
make
Makefile
文件操作
DSP
CCS
SQL
MySQL
shell
bochs
计算机网络
win10
SMTP
Socket
iOS
uxplay
投屏
证书错误
apt
nodesource
ELF
Typora
图床
fossil
sql
git
SecureCRT
windows
cygwin
blog
alsa
alsa-utils
alsa-lib
音频
USB
链接文件
内存
mmap
tcpdump
交叉编译
网络
防火墙
crontab
bond
Linux性能
udev
linux
pcie
wsl2
MMIO
wsl
qemu
raspi4
gdb
ssh
tun
tap
ifconfig
打印
gmac
phy
vim
组播
rock3a
win11
usb
sd
ubuntu
iptables
netfilter
wifi
veth
ipv6
wireshark
radvd
dhcpv6
dhcpv4
网络命名空间
br虚拟网卡
NDP
emmc
存储
raspi4b
baremental
jtag
buildroot
rootfs
ext4
调试
uboot
dropbear
raspi
ebpf
uart
baremetal
kernel
bringup
libbpf
arm64
fit
gzip
压缩
initcall_debug
bootargs
I2C
代理
cmake
python3
zephyr
mcxa156