To install the SAMSON SDK, you need to have a developer status. To get this status you need to do the following steps and send a developer request to us via SAMSON Connect:
If everything works well you should see the notification in the bottom-right corner saying “Your request has been sent” and the button text should be “Request sent”.
If you already have a developer status, you can directly download the SDK from Download > SDK.
A 64-bit architecture with a 64-bit operating system (Windows 7, Windows 8, Windows 10, Ubuntu 16.04+, Fedora 21+, Mac OS 10.10.5+). Installation with older versions of operating systems has not been tested. If you experience any problems with installation, please, check the Forum.
First, you need to install SAMSON. If you already have SAMSON, please, follow the steps of this installation guide. If you do not have SAMSON installed, please, refer to the Installing SAMSON first.
Please, check the requirements for your platform:
For other version of SAMSON SDK, check requirements here: All versions.
Path
environment variable. If you have not added CMake to the Path
environment variable during the installation process, you can do it by adding the path to the cmake.exe file. By default, this should be C:\Program Files (x86)\CMake\bin.Add the path to Qt binaries into the system Path
environment variable (see how to set the path and environment variables in Windows), i.e. the path to the qmake.exe file and dll libraries:
YourQtPath\Qt\5.12.5\msvc2019_64\bin
YourQtPath\Qt\5.12.5\msvc2017_64\bin
YourQtPath\Qt\5.12.5\msvc2015_64\bin
This path should be the first one in the Path
environment variable. You might also need to define QT5_CMAKE_INCLUDE_DIR
environment variable which equal to the path to the lib\cmake folder in your Qt installation. For example: QT5_CMAKE_INCLUDE_DIR = YourQtPath\Qt\5.12.5\msvc2017_64\lib\cmake
PATH
environment variable.Define an environment variable called QT5_CMAKE_INCLUDE_DIR
equal to the path to the gcc_64/lib/cmake folder in the Qt installation and add the path to Qt libraries to your LD_LIBRARY_PATH
environment variable:
PATH
environment variable.Define or add to the DYLD_FRAMEWORK_PATH
environment variable the path to the clang_64/lib folder in the Qt installation. Define an environment variable called QT5_CMAKE_INCLUDE_DIR
equal to the path to the clang_64/lib/cmake folder in the Qt installation. For that, open .bash_profile or .zprofile file (depending on the version of your Mac OS) in your user directory and add the next lines:
The last line is necessary to ensure that the debug version of a Qt framework is used (see: Qt Libraries as Frameworks).
The SAMSON SDK installation procedure consists of the following steps:
Once you are granted the developer status, you can download the SAMSON SDK from SAMSON Connect:
Once you have downloaded the SAMSON SDK and prepared your environment as indicated in the Requirements section, you can launch the installer. You can specify the location where SAMSON SDK will be installed during the installation procedure by choosing the “Advanced mode”.
Please, check for your platform:
Double-click on the executable file and follow the installation steps.
By default, the SDK is installed into C:\Users\USERNAME\OneAngstrom
folder. You can change this location during installation by choosing “Advanced mode”. Inside this folder, you will find a subfolder corresponding to the version of the SDK (e.g. 1.0.0).
Once the SAMSON SDK installation is finished, there are some final things to do depending on the platform you are. If you experience any problems please check the Forum. Assume, that SAMSON SDK is installed in SDK_PATH
folder.
Please, check for your platform:
By default, the SDK is installed into C:\Users\USERNAME\OneAngstrom
folder (below is noted as SDK_PATH
).
SDK_PATH\SAMSON-Sdks\1.0.0\SAMSON-Debug\Binaries
.SAMSON-Core.exe
, it should launch the developers version of SAMSON.By default, the SDK is installed into /home/USERNAME/OneAngstrom
folder (below is noted as SDK_PATH
).
SDK_PATH/SAMSON-Sdks/1.0.0/SAMSON-Debug/Binaries
.SAMSON-Core.sh
. You need to provide a path to Qt installed in your system, for that modify the following line: You may also need to make executable the following files placed in SDK_PATH/SAMSON-Sdks/1.0.0/SAMSON-Debug/Binaries
: SAMSON-Core.sh
and SAMSON-Core
:
For an easy launch (in terminal, from any folder), you may create an alias in your .bachrc
file:
To launch the developers version of SAMSON, open the terminal and go to ~/OneAngstrom/SAMSON-Sdks/1.0.0/SAMSON-Debug/Binaries
folder
You may also need to make executable the following files placed in ~/OneAngstrom/SAMSON-Sdks/1.0.0/SAMSON-Debug/Binaries
: SAMSON-Core-Console
and SAMSON-Core
:
After you have installed SAMSON SDK, you can start developing your SAMSON Elements, in particular thanks to the SAMSON Element generator.
Check out the following tutorials: