The component at the juice mixing machine, responsible for importing and managing licenses
- get a Raspberry Pi running Raspbian.
- rsync the Ultimaker root filesystem to the raspberry pi
mkdir /tmp/ultimaker; cd /tmp/ultimaker; rsync -avPx root@<address-of-ultimaker:/ . - mount dev, proc and sys into chroot environment:
mount -t proc proc proc/; mount -t sysfs sys sys/; mount -o bind /dev dev/ - add /CodeMeter.h/ to /LicenseManager/src/
cp CodeMeter.h /tmp/ultimaker/tmp/LicenseManager - change into ultimaker environment
chroot ultimaker - set reachable dns servers in /etc/resolve.conf e.g.
8.8.8.8 - clone pistache https://github.com/IUNO-TDM/pistache.git
- cd pistache, mkdir build, cd build
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
- make
- sudo make install
- clone LicenseManager from github
cd /tmp; git clone https://github.com/IUNO-TDM/LicenseManager.git - compile Licensemanager
cd LicenseManager; make - rsync to ultimaker
- have fun