-
Notifications
You must be signed in to change notification settings - Fork 1
Cellulo V1 Installation [Windows]
This guide covers the installation of the Cellulo framework on a Windows desktop for development on said Windows desktop and deployment to Windows.
Qt Bluetooth functionality, essential to Cellulo operation, is limited as of now to the Universal Windows Platform (also known as WinRT) and does not yet work on win32 (native Windows build). See https://bugreports.qt.io/browse/QTBUG-40698 and https://doc.qt.io/qt-5.10/qtbluetooth-index.html. This means that cellulorobotpoold
will likely never work until Qt Bluetooth win32 port is complete, as UWP apps do not support interprocess communication. This also means that Windows 8 and earlier are unfortunately not supported.
Tested:
- On Windows 10 (will likely //not// work on earlier versions such as Windows 8 and 7)
- With Qt 5.10.1
###libdots installation
This is to obtain the command-line tool to overlay the dot pattern on PDFs for localization.
- Install a Cygwin environment or alternative, I recommend Babun: https://babun.github.io/
- Install
cmake
,libpodofo-devel
,libfreetype-devel
andgcc-g++
in your Cygwin-like environment:
$ pact install cmake libpodofo-devel libfreetype-devel gcc-g++
- 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
from inside your Cygwin-like environment.
###Qt framework installation
This is to set up the development environment necessary for Cellulo.
- Install Visual Studio 2017. When installing, select
Universal Windows Platform development
package from Workloads and from its optional components, selectC++ Universal Windows Platform tools
. - Download Qt Open Source installer from the internet, it should be named something like
qt-unified-windows-x86-3.0.4-online.exe
. - Launch and follow the installer.
- Create an account or login.
- Install in
C:\Qt
(should be the default). You can install somewhere else but you'll have to adapt the path accordingly in the future. - Select
UWP x64 (MSVC 2017)
fromQt 5.10.1
, others are not necessary. - Finish 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 Windows 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 Windows desktop
- Launch Qt Creator.
- From
Open Project
in the main screen, loadcellulo-qml-plugin/samples/cellulo-hello-world/cellulo-hello-world.pro
. - Select the UWP 64bit configuration.
- Select just the
Release
and not theDebug
orRelease
builds. - When project is loaded, click the big green arrow button to launch (again, make sure
Release
build is selected there and notDebug
orRelease
builds).
Cellulo V1