美文网首页
mac 安装 cherryTree

mac 安装 cherryTree

作者: 洛洛_808b | 来源:发表于2020-09-02 18:17 被阅读0次

    1. 进入cherrytree 的 github 页面,链接如下:

    https://github.com/giuspen/cherrytree#building-cherrytree-on-macos

    2. 在 README.md 的Installation Guide 点击 MacOs

    3. 按照下面的指令依次执行

    Building Cherrytree on MacOS

    Install dependencies:

    brew install python3 cmake pkg-config gtksourceviewmm3 gnome-icon-theme gspell libxml++ cpputest pip3 install lxml

    Get cherrytree source, compile and run:

    git clone https://github.com/giuspen/cherrytree.git //git时可能下载速度很慢导致出错,下面有解决方法

    mkdir  cherrytree/build //在你终端所在目录创建 cherrytree/build 文件夹

    cd cherrytree/build  //进入上面创建好的 cherrytree/build 文件夹

    cmake ../  //cmake编译

    make -j$(sysctl -n hw.ncpu)  //执行完这句才可以安装cherrytree

    ./build/cherrytree //执行这句就可以运行cherrytree,如果这句执行报错 直接执行下面的 make install 就行

    To install:

    make install

    其中执行 git clone https://github.com/giuspen/cherrytree.git 下载速度会非常慢,最后导致网络超时,可以先把github导入到码云上,在码云上面下载速度就快多了

    5. 创建快捷方式

    当执行完 make install 后所有目录如下:

    安装目录

    点击最右边第一个黑色的 cherrytree 图标会显示UNIX可执行文件,双击就会运行cherrytree

    cherrytree在mac的可执行文件

    可以右键-->制作替身,然后将替身拖动到桌面,以后直接点击桌面的按钮就可以运行cherrytree了,或者你直接按 command+c 复制,然后粘贴到桌面

    粘贴到桌面后

    双击桌面的文件后,运行界面如下:

    cherrytree在mac的运行界面

    相关文章

      网友评论

          本文标题:mac 安装 cherryTree

          本文链接:https://www.haomeiwen.com/subject/iobwsktx.html