Giter Club home page Giter Club logo

Comments (4)

ravijo avatar ravijo commented on July 19, 2024

@sinanergezer

Thanks for reporting the issue.

It is sad that you faced this issue. This error always comes with version compatibility. The OpenPose in the past had different APIs and changed a lot during 1.7.0.

It is possible that previously you had an older version of OpenPose and somehow, even running sudo make install in the OpenPose directory, the current OpenPose is unable to override those older files. OR you have mistakenly set the install directory to a local folder. You can manually configure CMakeLists.txt by replacing the following line with the content given next:

find_package(OpenPose REQUIRED)

set(OPENPOSE_FOLDER /home/sinan/tools/openpose)
find_package(OpenPose REQUIRED PATHS ${OPENPOSE_FOLDER} NO_DEFAULT_PATH)

from ros_openpose.

sinanergezer avatar sinanergezer commented on July 19, 2024

Hi,
Changing those lines did not change anything anything. Just to be sure, I cloned the latest version of OpenPose again to an empty directory and changed the OpenPose_Dir option accordingly in the CMake Gui, it was configured and generated without any problems, but when I do a catkin build, same error again. I don't know what else to do at this point. Do you have any other suggestions?

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

@sinanergezer

Just now, I have tested the installation/compilation of ros_openpose from scratch in Ubuntu 20.04 LTS VM. As usual, it works fine. I am sharing all the commands below. Please have a look:

  1. Preparation for installation of OpenPose
sudo apt install cmake-qt-gui
sudo apt install git
sudo apt install libgoogle-glog-dev 
sudo apt install libgflags-dev
sudo apt install protobuf-compiler libprotobuf-dev
sudo apt install libopencv-dev
sudo apt install libboost-all-dev
sudo apt install libhdf5-dev 
sudo apt install  liblapacke-dev 
sudo apt install libatlas-base-dev
  1. Installation of OpenPose
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
cd openpose/
git checkout tags/v1.7.0
git submodule update --init --recursive --remote
mkdir build/
cd build/
cmake-gui ..
make -j`nproc`
sudo make install

Because I wanted to confirm the installation of ros_openpose, I didn't care about CUDA and installed the CPU version of OpenPose. BUT you must enable CUDA support if you have. Please see a screenshot of the cmake-gui below:
cmake-gui

  1. Preparation and installation of ROS Noetic
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt install ros-noetic-desktop-full 
source /opt/ros/noetic/setup.bash
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
  1. Preparation and installation of ros_openpose
mkdir -p ~/ros_ws/src
cd ros_ws/
catkin_make
cd ~/ros_ws/src
git clone https://github.com/ravijo/ros_openpose.git
cd ~/ros_ws/
catkin_make

Furthermore, if you are on Ubuntu 18.04 LTS, the steps are similar. Please look at the following link: #58 (comment)

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

Closing this issue as no further comments were received. Feel free to comment if the issue still exists.

from ros_openpose.

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.