Skip to content

desy-fsec/libseabreeze

Repository files navigation

SeaBreeze

github workflow docs

C++-Library for Ocean Optics Spectrometer (Open-source cross-platform spectrometer device driver)

Fork from SVN-Repository at https://sourceforge.net/projects/seabreeze/

Installation

In order to install libseabreeze on a Linux system the following software packages are requiered

  • c++17 compatiable compiler
  • libusb-0.1
  • doxygen in order to build the documentation

If all dependencies are available on your system you can clone this repository and configure the build

git clone https://github.com/desy-fsec/libseabreeze.git
cd libseabreeze
make

Differences to original Repository

  • remove dynamic exception specification (not supported anymore)
  • replace back seebreeze::byte by unsigned int (conflict with std::byte)
  • catch references instead of raw objects
  • add the -std=c++17 flag

Debian packages

Debian trixie, bookworm and Ubuntu questing, noble packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

sudo su
curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg

and then download the corresponding source list

cd /etc/apt/sources.list.d
wget http://repos.pni-hdri.de/trixie-pni-hdri.sources

To install seabreeze packages

apt-get update
apt-get install libseabreeze3 libseabreeze-dev libseabreeze3-dbgsym