进入源代码文件libarea,执行以下命令:
$ mkdir build
$ cd build
$ cmake .. (assuming theres a CMakeLists.txt file in the project dir)
$ make
$ sudo make install
执行以上命令后将会把libarea库安装到python库里了,要使用这些库,直接在python里 import area 就可以了。
以下是这个库里包含的一些函数:
进入源代码文件libarea,执行以下命令:
$ mkdir build
$ cd build
$ cmake .. (assuming theres a CMakeLists.txt file in the project dir)
$ make
$ sudo make install
执行以上命令后将会把libarea库安装到python库里了,要使用这些库,直接在python里 import area 就可以了。
以下是这个库里包含的一些函数: