-
Notifications
You must be signed in to change notification settings - Fork 1
Cellulo V1 Installation [macOS]
Victor Borja edited this page Dec 2, 2022
·
1 revision
This guide covers the installation of the Cellulo framework on a macOS desktop for development on said macOS desktop and deployment to macOS.
Tested:
- On macOS 10.13.3
- With Qt 5.10.0
###libdots installation
This is to obtain the command-line tool to overlay the dot pattern on PDFs for localization.
- Install Homebrew: https://brew.sh
- Install
git
,cmake
,freetype
,openssl
andpodofo
with brew. - Clone https://c4science.ch/diffusion/514/libdots.git, the tool is in
tools/pdf-overlayer/
. - Follow the build instructions at https://c4science.ch/diffusion/514/browse/master/tools/pdf-overlayer/README.md.
- Use as
libdots-pdf-overlayer -i mypage.pdf -o mypage-dotted.pdf
.
###Qt framework installation
This is to set up the development environment necessary for Cellulo.
- Install Xcode from the App Store.
- Download Qt Open Source installer from the internet, it should be named something like
qt-unified-mac-x64-3.0.2-online.dmg
. - Launch and follow the installer.
- Create an account or login.
- Install in
/opt/Qt
. You can install somewhere else but you'll have to adapt the path accordingly in the future. - Select
macOS
fromQt 5.10.0
, others are not necessary. - Finish install.
-
Important for the future: Run
chmod 777 /opt/Qt/5.10.0/clang_64/qml
for easier installation of the qml plugins. If you don't do this, you'll have tosudo make install
.
###cellulo-qml-plugin installation
This installs the Cellulo QML plugin which provides the API to work with the robots.
- Clone https://c4science.ch/diffusion/505/cellulo-qml-plugin.git.
- Set up your github ssh keys on your machine, you can follow https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ and then https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/.
- Follow the build instructions for macOS desktop at https://c4science.ch/diffusion/505/browse/master/README.md.
###Other qml plugins installation
These are necessary plugins that work alongside cellulo-qml-plugin
.
- Clone the following:
- Follow the build instructions at the README.md files within the plugins, they are the exact same as
cellulo-qml-plugin
.
###Test an application on the macOS desktop
- Launch Qt Creator.
- From
Open Project
in the main screen, loadcellulo-qml-plugin/samples/cellulo-hello-world/cellulo-hello-world.pro
. - Select the desktop configuration.
- When project is loaded, select desktop from the bottom left and click the big green arrow button to launch.
Cellulo V1