This directory is used for the SMPT (ScienceMode) C library files, which are required for the Python wrapper to function.
The recommended way to get the library is to let the setup process build it automatically:
# On Linux/macOS:
./install.sh
# On Windows:
install.batIf the automatic build process fails, you have several options:
mkdir -p build_temp && cd build_temp
cmake ../smpt -DCMAKE_INSTALL_PREFIX=../ -DBUILD_SHARED_LIBS=ON -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=../lib
cmake --build .For Windows:
- Download smpt_windows_static_x86.zip from the ScienceMode4_c_library releases
- Extract the DLL files to this directory
For Linux/macOS:
- The ScienceMode4 C library source code is already included in the
smptdirectory - Build it using the CMake commands listed in Option 1 above
- Copy the resulting shared objects (_.so files or _.dylib) to this directory
The following files should be present in this directory after a successful build:
- smpt.dll or libsmpt.dll
- smpt.lib or libsmpt.lib (optional, for linking)
- libsmpt.so
- libsmpt.so.4
- libsmpt.so.4.0.0
- libsmpt.dylib
- libsmpt.4.dylib (optional)