f39023a7创建于 2022年12月29日历史提交

Usage

Installation

The current version of the library is compiled using Cangjie version 0.35.6 (2022-12-07).

Within the scientific directory, use

.. code-block:: console

make all

to compile most of the third-party dependencies. The dependency on matplot++ is compiled using

.. code-block:: console

./run.sh

This will download matplot++ and build it the first time it runs. Once this is done, any changes will be built incrementally.

The above two steps put all external dependencies as .so files in directory src/thirdParty/solib. Put this into the Cangjie load library path by adding the following line to ~/.bashrc file:

.. code-block:: console

export LD_LIBRARY_PATH={path to scientific}/src/thirdParty/solib:$LD_LIBRARY_PATH

then run

.. code-block:: console

source ~/.bashrc

to update paths. Finally, run

.. code-block:: console

cpm build

to build the Cangjie package. The resulting executable is ./bin/main.