-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix source build instructions for ign-gazebo3 #395
Conversation
Signed-off-by: Ashton Larkin <[email protected]>
Another thing to note is that the source install link in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we strip the (version 3)
Yeah I think that makes it simpler
README.md
Outdated
@@ -140,7 +140,7 @@ for dependency installation instructions for each supported operating system. | |||
1. Install third-party libraries: | |||
|
|||
``` | |||
sudo apt-get -y install cmake build-essential curl cppcheck g++-8 libbenchmark-dev libgflags-dev doxygen ruby-ronn libtinyxml2-dev libtinyxml-dev software-properties-common libeigen3-dev qtdeclarative5-models-plugin | |||
sudo apt-get -y install cmake build-essential curl cppcheck g++-8 libbenchmark-dev libgflags-dev doxygen ruby-ronn libtinyxml2-dev libtinyxml-dev software-properties-common libeigen3-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that every repository has all the dependencies listed in .github/ci/packages.apt
, we should start using that in the installation instructions so the instructions are always up-to-date. What do you think of doing that here?
For example, running this after cloning:
export SYSTEM_VERSION=bionic
sudo apt -y install \
$(sort -u $(find . -iname 'packages-'$SYSTEM_VERSION'.apt' -o -iname 'packages.apt') | tr '\n' ' ')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely a cleaner approach that is easier to maintain. I went ahead and made this change in a18718a.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Just note that the user can only run that after cloning the repository, so that instruction should be moved down, or the cloning moved up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed that as well. I went ahead and made a note about cloning first in 4ae6846.
Signed-off-by: Ashton Larkin <[email protected]>
@chapulina I have also noticed that the Binary Install instructions install |
Yes, please, thanks. The |
Signed-off-by: Ashton Larkin <[email protected]>
It looks like |
That would be awesome, thanks! |
I know this is already merged, but one other thing I just noticed is that we don't mention installing |
* using .apt files to get source build dependencies Signed-off-by: Ashton Larkin <[email protected]> Signed-off-by: Guillaume Doisy <[email protected]>
When trying to build
ign-gazebo3
from source, @chapulina and I noticed a few things:qtdeclarative5-models-plugin
third-party dependency seems unnecessary (this package also doesn't exist for Ubuntu Focal - only exists for Ubuntu Bionic)ign-sensors
andign-fuel-tools
Users should now be able to go through the source build instructions without any issues.
Signed-off-by: Ashton Larkin [email protected]