mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 00:50:34 +08:00
travis: just use libeigen3-dev
This commit is contained in:
+2
-2
@@ -7,10 +7,10 @@ before_install:
|
|||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -qq g++-4.8
|
- sudo apt-get install -qq g++-4.8 libeigen3-dev
|
||||||
- export CXX="g++-4.8"
|
- export CXX="g++-4.8"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- chmod +x build.sh
|
- chmod +x build.sh
|
||||||
|
|
||||||
script: ./build.sh
|
script: ./build.sh
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 ECL Development Team. All rights reserved.
|
# Copyright (c) 2015-2016 ECL Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -31,16 +31,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
#download, build and install eigen
|
|
||||||
wget -O eigen.tar.bz2 http://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2
|
|
||||||
mkdir eigen
|
|
||||||
tar -xvjf eigen.tar.bz2 -C eigen --strip-components=1
|
|
||||||
mkdir eigen-build
|
|
||||||
cd eigen-build
|
|
||||||
cmake ../eigen
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
#build EKF shared library
|
#build EKF shared library
|
||||||
cd ..
|
cd ..
|
||||||
mkdir Build
|
mkdir Build
|
||||||
|
|||||||
Reference in New Issue
Block a user