Skip to content
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

build gazebo from source #7

Open
ZhiangChen opened this issue Mar 30, 2021 · 3 comments
Open

build gazebo from source #7

ZhiangChen opened this issue Mar 30, 2021 · 3 comments

Comments

@ZhiangChen
Copy link
Member

ZhiangChen commented Mar 30, 2021

When building gazebo from source, there is a compiling error:
Could not find a package configuration file provided by "sdformat9"

@ZhiangChen
Copy link
Member Author

As the answer suggested, this issue is caused by compatibility between gazebo and sdformat versions.

Solution:

  • download gazebo 9 as .zip
  • replace gazebo in /tmp

@ZhiangChen
Copy link
Member Author

gazebo: error while loading shared libraries: libgazebo_common.so.9: cannot open shared object file: No such file or directory

@ZhiangChen
Copy link
Member Author

environment configuration is incorrect. https://answers.gazebosim.org//question/1071/error-while-loading-shared-libraries/

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
source /usr/local/share/gazebo-9/setup.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant