borglab / GTDynamics

Full kinodynamics constraints for arbitrary robot configurations with factor graphs.
BSD 2-Clause "Simplified" License
39 stars 10 forks source link

Updated instructions for source install of SDFormat10 #268

Closed varunagrawal closed 3 years ago

varunagrawal commented 3 years ago

The title. Should resolve #266.

dellaert commented 3 years ago

On an Ubuntu 18.04 image, I still get a cmake error:

====== Finding 3rd Party Packages ======
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Building for arch: x86_64
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find TinyXML2 (missing: TINYXML2_LIBRARY TINYXML2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindTinyXML2.cmake:31 (find_package_handle_standard_args)
  cmake/SearchForStuff.cmake:11 (find_package)
  CMakeLists.txt:116 (include)

-- Configuring incomplete, errors occurred!
See also "/usr/src/gtsam/build/sdformat-10.5.0/build/CMakeFiles/CMakeOutput.log".
varunagrawal commented 3 years ago

I'm re-running the instructions in a new docker instance to double check.

varunagrawal commented 3 years ago

That's weird, I'm getting this:

====== Finding 3rd Party Packages ======
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Building for arch: x86_64
-- Found TinyXML2: /usr/lib/x86_64-linux-gnu/libtinyxml2.so  
-- Checking for module 'urdfdom>=1.0'
--   Found urdfdom, version 1.0.0
-- Looking for ignition-tools-config.cmake - found
-- Could NOT find PY_psutil (missing: PY_PSUTIL) 
--  Python psutil package not found. Memory leak tests will be skipped
-- Found ruby executable: /usr/bin/ruby
-- Looking for ignition-math6-config.cmake - found
-- ----------------------------------------

Are you running an apt-get -y update as the first step in the docker image? Can you please post the full log?

dellaert commented 3 years ago

I updated the DockerFile in feature/docker. Same error even after I did update

varunagrawal commented 3 years ago

You're missing the line to actually install the gazebo packages (aka SDFormat Dependencies). I'm pushing a commit to that branch.

dellaert commented 3 years ago

You're missing the line to actually install the gazebo packages (aka SDFormat Dependencies). I'm pushing a commit to that branch.

Thanks!!!!

varunagrawal commented 3 years ago

Absolutely, it's what I'm here for. 🙂