🎙️实践指南-001-编译错误
type
status
date
slug
summary
tags
category
icon
password
源代码 -> 编译器 -> 二进制
1. 目前已有的编译
- Makefile
- CMake
- Meson
2. 遇到的编译问题
2.1. xxx 依赖库找到?
一般需要 pkg-config 引入库。
2.2. 查看系统可用 pkg-config 路径
pkg-config --variable pc_path pkg-config
2.3. 为什么有的机器上有 lib64?
这是因为有些机器是 32 位,有些机器是 64 位。
32 位机器在 Makefile 中,libdir 是 /usr/lib;
64 位机器在 Makefile 中,libdir 是 /usr/lib64;
上一篇
中年码农的困境
下一篇
log-001-我与计算机
Loading...