updated dependencies

This commit is contained in:
mazzol_a committed 2026-12-01 21:50:19 +01:00
1 parent f8ea8fcdde
commit af07ab1d77
3 files changed
+12 -2

No files matched your search

+4 -1
View File
@@ -29,6 +29,9 @@ A minimal CMakeLists.txt could look like this:
#Link towards slsDetectorShared
target_link_libraries(example slsDetectorShared)
.. Note::
Per default slsDetectorPackage only builds static libraries. To build the `libSls*.so` libraries for dynamic linking, enable them by passing `-DSLS_BUILD_SHARED_LIBRARIES=ON` to cmake.
A fully working example can be found at:
https://github.com/slsdetectorgroup/cmake-subfolder-example
@@ -113,4 +116,4 @@ manually when invoking g++. This can sometimes be handy for a quick try.
.. code-block:: bash
g++ -I/install/path/include/ -L/install/path/lib64/ myapp.cpp -lSlsDetector -lSlsSupport -Wl,-rpath=../install/path/lib64
g++ -I/install/path/include/ -L/install/path/lib64/ myapp.cpp -lSlsDetector -lSlsSupport -Wl,-rpath=../install/path/lib64 -pthread -lrt
+5
View File
@@ -13,6 +13,10 @@ To use the basic building blocks, meaning sls_detector_get/put and
the shared libraries these are needed:
* Linux, preferably recent kernel (currently no cross platform support)
* POSIX threads (pthread). The libraries call pthread directly, so a
pthread-compatible threading library is required.
* POSIX shared memory (``shm_open``/ ``mmap``). On glibc < 2.34 (e.g. RHEL 8) this requires linking ``librt``,
which CMake handles automatically.
* CMake >= 3.14
* C++17 compatible compiler. (We test with gcc and clang)
@@ -30,6 +34,7 @@ Additionally the core requires the following dependencies:
.. note::
Fmt, ZeroMQ and rapidjson are bundled in libs. One does not need to pre-install them on the system. Alternatively, one can fetch fmt and ZeroMQ from GitHub by passing the cmake options ``-DSLS_FETCH_FMT_FROM_GITHUB=ON`` and ``-DSLS_FETCH_ZEROMQ_FROM_GITHUB=ON`` respectively.
One can also use the system's installed ZeroMQ by passing the option ``-DSLS_USE_SYSTEM_ZMQ=ON``.
.. note::
+3 -1
View File
@@ -183,6 +183,7 @@ Example cmake options Comment
-DSLS_USE_GUI=ON GUI
-DSLS_USE_HDF5=ON HDF5
-DSLS_USE_SIMULATOR=ON Simulator
-DSLS_BUILD_SHARED_LIBRARIES=ON Builds shared libraries
=============================== ===============================
.. note ::
@@ -427,7 +428,8 @@ is to use conda
| v8.0.0+:
| zeromq (v4.3.5) is built
| * by default from tar file in repo (libs/libzmq/libzmq-4.3.5.tar.gz)
| * or use advanced option SLS_FETCH_ZMQ_FROM_GITHUB [`link <https://github.com/zeromq/libzmq.git>`__].
| * or use advanced option `SLS_FETCH_ZMQ_FROM_GITHUB` [`link <https://github.com/zeromq/libzmq.git>`__].
| * Alternatively use the system zeromq installation by passing the option `-DSLS_USE_SYSTEM_ZMQ=ON` to cmake
|
| v7.x.x and older:
| zeromq-devel must be installed and one can hint its location using