-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Joakim L. Gilje edited this page Jan 7, 2016
·
3 revisions
disupurei requires Qt >= 5.5 and GStreamer >= 1.6. CMake has not yet been configured to check for this.
Compiling for Linux is a straightforward checkout, configure and build process.
git clone [email protected]:jgilje/disupurei
cd disupurei
mkdir build && cd build
# The CMAKE_PREFIX_PATH can be skipped to use the systems default Qt installation
CMAKE_PREFIX_PATH=/storage/bin/Qt/5.5/gcc_64/lib/cmake cmake ..
make
Checkout the Raspberry Pi crosscompiler
git clone [email protected]:raspberrypi/tools.git
git clone [email protected]:jgilje/disupurei
cd disupurei
cp cmake/rpi.toolchain.tmpl cmake/rpi.toolchain
# edit cmake/rpi.toolchain, update the paths to tools and sysroot
mkdir build && cd build
# The CMAKE_PREFIX_PATH can be skipped to use the systems default Qt installation
GSTREAMER_ROOT=/opt/gstreamer-1.6.1 cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/rpi.toolchain ..
make
Build Qt first, as Qt does not yet provide binaries for VS2015.
Download and install CMake - https://cmake.org/download/
Open "VS2015 Tools command line" for the platform your targeting
SET CMAKE_PREFIX_PATH=%QT_PREFIX%\lib\cmake
SET GSTREAMER_ROOT=C:\gstreamer\1.0\x86_64
cmake -G "Visual Studio 14 2015 Win64" ..
msbuild /m disupurei.sln