一个github上的项目的readme,看不懂啊,可以帮着用大白话解释一下吗?感谢。
https://他这里,是说先安装三个软件(我用windows操作系统),然后执行下面操作,可是我不会啊,感谢啊。
From the git repository
Clone (recursively!) and run the setup.py script (the --shallow-submodules flag is optional, and checks out only the most recent commit of the submodules, saving rather a lot of data for Eigen)
git clone --recursive --shallow-submodules https://
cd COSMOSAC
python setup.py install
to install, or
python setup.py develop
to use a locally-compiled version for testing. If you want to build a debug version, you can do so with
python setup.py build -g develop
With a debug build, you can step into the debugger to debug the C++ code, for instance.
这是啥意思?我需要在哪个软件里操作啊,刚才装了三个软甲(cmake,vs,还有python)呢。
再然后,是下面这个,这是要干啥的啊?
Cmake build
Starting in the root of the repo (a debug build with the default compiler, here on linux):
git clone --recursive --shallow-submodules https://
cd COSMOSAC
mkdir build
cd build
cmake ..
cmake --build .
For those using Anaconda on Linux, please use the following for cmake:
mkdir build
cd build
cmake .. -DPYTHON_EXECUTABLE=`which python`
cmake --build .
For Visual Studio 2019 (64-bit) in release mode, you would do:
git clone --recursive --shallow-submodules https://
cd COSMOSAC
mkdir build
cd build
cmake .. -G "Visual Studio 17 2019 Win64"
cmake --build . --config Release
If you need to update your submodules (pybind11 and friends)
git submodule update --init
For other options, see the cmake docs
非常感谢。
我是小白,可能对大家来说,这都是低级问题,谢谢大家啦