Package Details: apm_planner 2.0.24-1

Git Clone URL: https://aur.archlinux.org/apm_planner.git (read-only)
Package Base: apm_planner
Description: Ground Control Station for MAVlink based autopilots (e.g. Ardupilot)
Upstream URL: http://planner2.ardupilot.com
Keywords: apm ardupilot drones gcs mav uav
Licenses: GPL3
Submitter: volalto
Maintainer: volalto
Last Packager: volalto
Votes: 17
Popularity: 0.408313
First Submitted: 2014-07-25 09:07
Last Updated: 2016-10-06 21:34

Latest Comments

jcorthoefer commented on 2017-07-14 21:54

It appears the flite in the main arch linux repo isn't built with the right options. The current aur build is in https://aur.archlinux.org/packages/flite1/

To use the current build you need to update the depends line in PKGBUILD to flite1.

depends=('qt5-base' 'qt5-serialport' 'qt5-svg' 'qt5-script' 'qt5-declarative' 'sdl2' 'flite1' 'libsndfile' 'python')

jcorthoefer commented on 2017-07-14 14:50

here is a patch for the OpenSSL issue...

diff --git a/PKGBUILD b/PKGBUILD
index 578d306..ec6c6a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,11 @@ build() {
make
}

+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i "${srcdir}/openssl.patch"
+}
+
package() {
make INSTALL_ROOT="$pkgdir" install
install -D -m644 "$srcdir/$pkgname-$pkgver/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

And the file openssl.patch
--- a/apm_planner.pro 2017-07-12 17:44:55.405051197 -0400
+++ b/apm_planner.pro 2017-07-12 17:46:05.241720928 -0400
@@ -318,6 +318,9 @@
src/ui/configuration \
src/output

+INCLUDEPATH += /usr/include/openssl-1.0
+LIBRARYPATH += /usr/lib/openssl-1.0
+
FORMS += \
src/ui/MainWindow.ui \
src/ui/CommSettings.ui \

kikislater commented on 2017-05-19 11:53

Problem with ssl solved here :
https://github.com/ArduPilot/apm_planner/issues/1042

hishamo commented on 2017-05-16 03:23

It failed to compile with the following error

error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’

kikislater commented on 2017-04-26 11:13

Please update

manofsteal123 commented on 2016-05-15 23:19

apm_planner will not build, unless you manually install "flite-fpic" first

:do not install "flite"

yaourt -G flite-fpic
cd /home/"your-user-name"/Downloads/apm/flite-fpic
makepkg
yaourt -U flite-fpic-X.X-XX-x86_64.pkg.tar

after that apm_planner should build with no problems

add "your-user-name" to the "uucp" Group for permission, if you have problems with port permission /etc/group

Queequeg commented on 2016-04-13 16:36

It throws an error while compiling, about isnan and isinf not being defined. It seems that the directives in QGC.h for defining them miss my system.
Commenting out lines 52 and 59, like this:

<code>
//#if defined(Q_OS_MACX) || defined(Q_OS_WIN)
#ifndef isnan
#define isnan(x) std::isnan(x)
#endif
#ifndef isinf
#define isinf(x) std::isinf(x)
#endif
//#endif
</code>

lets the functions be defined and the application compiles.

kikislater commented on 2016-04-13 09:09

Tried to build but no success !

/usr/bin/ld : ne peut trouver -lflite_cmu_us_kal
collect2: erreur : ld a retourné 1 code d'état d'exécution
Makefile:1833 : la recette pour la cible « release/apmplanner2 » a échouée
make: *** [release/apmplanner2] Erreur 1
==> ERREUR : Une erreur s’est produite dans build().
Abandon...
==> ERREUR : Makepkg n'a pas pu construire apm_planner.

thoth commented on 2016-03-22 14:32

flite-full is version 1.4, seems a bit ancient from here, compiling from the 2.0 release seems to work best on my system:

cd flite-2.0.0-release/
./configure
make
sudo make install

mr_337 commented on 2016-02-10 07:09

Install fine with changing flite-full with flite. Do make sure you read the comments as you'll need to tweak the for 8bit voice. Adding 'cmu_us_kal' in prepare sed VOXES command.

Also need to read the comment about adding in more sed commands and flite should compile fine.

All comments