Skip to content

C library for the ScienceMode 4 protocol

License

MPL-2.0, LGPL-3.0 licenses found

Licenses found

MPL-2.0
LICENSE
LGPL-3.0
LICENSE_LGPL_3_0
Notifications You must be signed in to change notification settings

ScienceMode/ScienceMode4_c_library

Repository files navigation

ScienceMode4_c_library

C library for the ScienceMode 4 protocol

Build library on Windows

Please download the QT-Installer from https://www.qt.io/download-open-source and install Qt Creator and Qt5 / Qt6. Besides QT, Qt Serial Port is necessary.

Open ScienceMode.pro with Qt Creator and go to Projects. Select your Compiler and QT-Version and then go to Builds Steps and add the following to the addional arguments field:

For release: image

For debug: image

Possible settings for windows (Release):

  • For a MingGW-based compiler: "CONFIG+=myRelease smpt_all mingw"
  • For a x86 visual studio compiler: "CONFIG+=myRelease smpt_all windows_static_x86"
  • For a amd64 visual studio compiler: "CONFIG+=myRelease smpt_all windows_static_amd64"

Possible settings for windows (Debug):

  • For a MingGW-based compiler: "CONFIG+=myDebug smpt_all mingw"
  • For a x86 visual studio compiler: "CONFIG+=myDebug smpt_all windows_static_x86"
  • For a amd64 visual studio compiler: "CONFIG+=myDebug smpt_all windows_static_amd64"

When selecting mingw, it is possible to build the library for 32bit or for 64bit, depending on the installed MinGW. windows_static_x86 or windows_static_amd64 requires an installed visual studio c++ compiler and a fitting Qt version.

Build library on Linux

Qt5 Core and qmake needs to be installed first. Then the library can be build by:

sudo apt install libqt5core5a qt5-qmake
qmake -r "CONFIG+=myRelease smpt_all linux_x86_amd64_static" ScienceMode.pro
make

Build library on MacOs

Qt5 Core and qmake needs to be installed first. Then the library can be build by:

qmake -r "CONFIG+=myRelease smpt_all macos" ScienceMode.pro
make

About

C library for the ScienceMode 4 protocol

Topics

Resources

License

MPL-2.0, LGPL-3.0 licenses found

Licenses found

MPL-2.0
LICENSE
LGPL-3.0
LICENSE_LGPL_3_0

Stars

Watchers

Forks

Packages

No packages published