Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_scripts
Merge requests
!2
Resolve "ubuntu 22 and CMAKE 3.16"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "ubuntu 22 and CMAKE 3.16"
1-ubuntu-22-and-cmake-3-16
into
main
Overview
0
Commits
2
Pipelines
3
Changes
1
Merged
Joan Vallvé Navarro
requested to merge
1-ubuntu-22-and-cmake-3-16
into
main
1 year ago
Overview
0
Commits
2
Pipelines
3
Changes
1
Expand
Closes
#1 (closed)
0
0
Merge request reports
Compare
main
version 1
d707f65a
1 year ago
main (base)
and
version 1
latest version
0a81f986
2 commits,
1 year ago
version 1
d707f65a
1 commit,
1 year ago
1 file
+
18
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
install_wolf.sh
+
18
−
5
Options
@@ -186,6 +186,8 @@ if [ $UBUNTU_DISTRO == "18.04" ]; then
func_echo
"Ubuntu 18.04 - OK"
elif
[
$UBUNTU_DISTRO
==
"20.04"
]
;
then
func_echo
"Ubuntu 20.04 - OK"
elif
[
$UBUNTU_DISTRO
==
"22.04"
]
;
then
func_echo
"Ubuntu 22.04 - OK"
else
func_echo_error
"Non-supported Ubuntu version:
${
UBUNTU_DISTRO
}
"
exit
1
@@ -209,12 +211,23 @@ func_echo "path dependencies: $DEPS_PATH"
func_echo
"Installing dependencies via apt install..."
if
[
"
$UID
"
-eq
0
-o
"
$EUID
"
-eq
0
]
;
then
#apt install -y git wget unzip dh-autoreconf cmake build-essential libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
apt
install
-y
git wget unzip cmake build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
# install packages (apt & pip)
if
[
$UBUNTU_DISTRO
==
"18.04"
]
;
then
# Ensure required CMAKE version with pip in ubuntu 18.04
if
[
"
$UID
"
-eq
0
-o
"
$EUID
"
-eq
0
]
;
then
apt
install
-y
git wget unzip python-pip build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
pip
install
--upgrade
pip
pip
install
cmake
==
3.16.
*
else
sudo
apt
install
-y
git wget unzip python-pip build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
sudo
pip
install
--upgrade
pip
sudo
pip
install
cmake
==
3.16.
*
fi
else
#sudo apt install -y git wget unzip dh-autoreconf cmake build-essential libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
sudo
apt
install
-y
git wget unzip cmake build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
if
[
"
$UID
"
-eq
0
-o
"
$EUID
"
-eq
0
]
;
then
apt
install
-y
git wget unzip cmake build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
else
sudo
apt
install
-y
git wget unzip cmake build-essential libeigen3-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev git libboost-all-dev libyaml-cpp-dev wget unzip
fi
fi
# ceres
Loading