在Ubuntu14.04 还要装
sudo apt-get install qt5-default qttools5-dev-tools qtmultimedia5-dev qttools5-dev
sudo apt-get install python3-pyside.qtwebkit上面一切顺利的话,下载源码git clone --recursive -b 2.2 https://github.com/opentx/opentx.git
cd opentx
mkdir build-taranis-debug
cd build-taranis-debug
cmake -DPCB=X9D+ -DGVARS=YES -DLUA=YES -DDEBUG=YES -DCMAKE_BUILD_TYPE=Debug ../
然后会看到
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- OpenTX 2.2.0
-- Looking for SDL
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
SDL Include Path: /usr/include/SDL
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
USING -std=gnu++11
WARNING: can't find gtests source, gtest target will not be available!
-- Looking for QT lupdate
-- /usr/bin/lupdate
QT lupdate: /usr/bin/lupdate
-- Configuring done
-- Generating done
-- Build files have been written to: opentx/build-taranis-debug