xeus has been packaged on all platforms for the conda package manager.
conda install xeus -c QuantStack -c conda-forge
xeus depends on the following libraries:
On linux platforms,
xeus also requires libuuid, which is available in all linux distributions.
We have packaged all these dependencies for the conda package manager. The simplest way to install them with conda is to run:
conda install cmake zeromq cppzmq cryptopp xtl -c QuantStack -c conda-forge .
On Linux platform, you will also need:
conda install libuuid -c conda-forge
Once you have installed the dependencies, you can build and install xeus:
cmake -D BUILD_EXAMPLES=ON -D CMAKE_BUILD_TYPE=Release . make make install
If you need the
xeus library only, you can omit the
Installing the Dependencies from Source¶
The dependencies can also be installed from source. Simply clone the directories and run the following cmake and make instructions.
cmake -D WITH_PERF_TOOL=OFF -D ZMQ_BUILD_TESTS=OFF -D ENABLE_CPACK=OFF -D CMAKE_BUILD_TYPE=Release . make make install
cppzmq is a header only library:
cmake -D CMAKE_BUILD_TYPE=Release . make install
cryptopp must be built as a static library, building cryptopp as a shared library is not supported on Windows.
cmake -D BUILD_SHARED=OFF -D BUILD_TESTING=OFF -D CMAKE_BUILD_TYPE=Release . make make install
xtl is a header only library:
cmake -DCMAKE_BUILD_TYPE=Release . make install