我试图安装尼泊尔-3.3.0,但遇到了一些问题。
指示说:
$ mkdir build
的子目录- I use **cd** to change the directory to src and then I type `mkdir build` and a folder called `build` appears inside the src folder
$ cd build
$ cmake ..
- I then use cd again to change the directory to the build folder but I don't know where to go from there.
$ make
使用选项-j
使用多线程编译。$ make install
发布于 2019-01-21 13:11:18
构建文件夹应该与src文件夹处于相同的级别(即,您可以在ls
中看到它)。那么,转到您下载的尼泊尔文件夹:
mkdir build
cd build
cmake ../src
make
neper
二进制文件将在那里。如果希望指定安装路径等,请在cmake [options] ../src
步骤期间添加标准cmake命令。
https://stackoverflow.com/questions/52594533
复制相似问题