![]() |
Qmix SDK
20200506
The software libraries for integration of all CETONI devices.
|
Checkout the cetoni_repository
git repository into a local folder, such as ~/cetoni_repository
.
For the build the following environment variables are required:
cetoni_repository
- this variable needs to contain the root of the cetoni_repository -if you followed the example above, then it should point to ~/cetoni_repository
local_prefix
- this variable contains the target folder for the built libraries. For example, if the local_prefix
is /home/user/Coding
then the libraries will be stored into /home/user/Coding/lib
. This is also the path where the linker searches for the libraries.x64
- Set this variable to 1 for 64-bit build (this is mandatory for Linux build)The following example shows the etc/profile.d/envvars.sh
file that is used at CETONI to define the environment variables.
To add the local_prefix
folder to the LD_LIBRARY_PATH
variable we added the file cetoni_repository.conf
to the folder /etc/ld.so.cond.d/
with the following content:
Create a build folder for out of tree build.
CD into the build folder and execute:
You should see something like this:
Then build the project with make:
Checkout the QmixSDK git project into a local folder such as ~/QmixSDK
CD into the QmixSDK install subfolder:
and run the setup.sh script
This will build the doxygen documentation, copy all required files into the QmixSDK_Linux
subfolder and creates the final QmixSDK_Linux.tar.gz
and QmixSDK_Linux.zip
files.