Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04 项目构建指南 #29

Open
zhangyi1357 opened this issue Jan 5, 2025 · 0 comments
Open

Ubuntu 22.04 项目构建指南 #29

zhangyi1357 opened this issue Jan 5, 2025 · 0 comments

Comments

@zhangyi1357
Copy link

不想使用容器的情况下可以考虑自行安装依赖库。

在 Ubuntu 22.04 系统上执行以下命令即可编译执行第一课的代码

# 安装 Google Benchmark
sudo apt-get install libbenchmark-dev

# 安装 OpenMP
sudo apt-get install libomp-dev

# 安装 Armadillo
sudo apt-get install libarmadillo-dev

# 安装 Google Log (glog)
sudo apt-get install libgoogle-glog-dev

# 安装 BLAS 和 LAPACK
sudo apt-get install libblas-dev liblapack-dev

# 安装 Google Test
sudo apt-get install libgtest-dev

后续其他依赖安装方法会在学到相应章节时进行更新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant