Giter VIP home page Giter VIP logo

Comments (11)

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

Hey,

Did you install the SDF library according to the README.md?

from ed.

pranav2481 avatar pranav2481 commented on July 23, 2024

Ya I installed libsdformat4-dev.

from ed.

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

Could please provide more information about your system?

Please include the version info of libsdformat4-dev (use apt-cache policy)

from ed.

pranav2481 avatar pranav2481 commented on July 23, 2024

Hi, sorry for the delay.
I am using:
Ubuntu 16.04
ROS-Kinetic
libsdformat4-dev:
Installed: 4.0.0-1ubuntu2
Candidate: 4.0.0-1ubuntu2
Version table:
*** 4.0.0-1ubuntu2 500
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status

from ed.

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

The SDF library is too old. As mentioned in the README, you need minimal 4.4. Please follow the instructions in the README to get a newer version.

from ed.

pranav2481 avatar pranav2481 commented on July 23, 2024

Alright got it. Thank you. I will try this and let you know.

from ed.

pranav2481 avatar pranav2481 commented on July 23, 2024

libsdformat4-dev:
Installed: 4.0.0-1ubuntu2
Candidate: 4.4.0-1xenial
Version table:
4.4.0-1
xenial 500
500 http://packages.osrfoundation.org/gazebo/ubuntu-stable xenial/main amd64 Packages
*** 4.0.0-1ubuntu2 500
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
Followed the steps in ReadMe. But still getting the error. Looks like I need to switch to the newer version. But I do not know how.

from ed.

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

sudo apt-get upgrade libsdformat4-dev?

from ed.

pranav2481 avatar pranav2481 commented on July 23, 2024
[ 83%] Building CXX object prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/src/models/model_loader.cpp.o
/home/iki/catkin_ws/src/prj-iki-robotics/knowledgebase/ed/src/models/model_loader.cpp:17:25: fatal error: sdf/parser.hh: No such file or directory
compilation terminated.
prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/build.make:230: recipe for target 'prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/src/models/model_loader.cpp.o' failed
make[2]: *** [prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/src/models/model_loader.cpp.o] Error 1
CMakeFiles/Makefile2:11689: recipe for target 'prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/all' failed
make[1]: *** [prj-iki-robotics/knowledgebase/ed/CMakeFiles/ed_core.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j16 -l16" failed

Same place. Different error now.

from ed.

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

Can you confirm that you now do have 4.4.0? Please clean your workspace and build your workspace again.

from ed.

MatthijsBurgh avatar MatthijsBurgh commented on July 23, 2024

@Pranav24-8 I assume your problem has been solved.

from ed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.