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

ros - kinetic failed to catkin_make #76

Open
Bkarso opened this issue Jun 4, 2021 · 5 comments
Open

ros - kinetic failed to catkin_make #76

Bkarso opened this issue Jun 4, 2021 · 5 comments

Comments

@Bkarso
Copy link

Bkarso commented Jun 4, 2021

hello !
help me please . you had tested in ros-kinetic? it can't catkin_make successfully!!!!

@Bkarso
Copy link
Author

Bkarso commented Jun 4, 2021

@josephduchesne

@Bkarso
Copy link
Author

Bkarso commented Jun 4, 2021

Test/src/flatland-master/flatland_server/thirdparty/Box2D/Dynamics/Joints/b2MouseJoint.cpp:54:13: error: no match for ‘operator!=’ (operand types are ‘const b2Vec2’ and ‘b2Vec2’)
if (target != m_targetA)
^
flatland-master/flatland_server/thirdparty/Box2D/CMakeFiles/flatland_Box2D.dir/build.make:127: recipe for target 'flatland-master/flatland_server/thirdparty/Box2D/CMakeFiles/flatland_Box2D.dir/Dynamics/Joints/b2MouseJoint.cpp.o' failed
make[2]: *** [flatland-master/flatland_server/thirdparty/Box2D/CMakeFiles/flatland_Box2D.dir/Dynamics/Joints/b2MouseJoint.cpp.o] Error 1

@Bkarso
Copy link
Author

Bkarso commented Jun 4, 2021

/home/hantewin/Test/src/flatland-master/flatland_server/thirdparty/Box2D/Dynamics/Joints/b2WheelJoint.cpp:363:45: error: no ‘float32 b2WheelJoint::GetJointLinearSpeed() const’ member function declared in class ‘b2WheelJoint’
float32 b2WheelJoint::GetJointLinearSpeed() const
^
/home/hantewin/Test/src/flatland-master/flatland_server/thirdparty/Box2D/Dynamics/Joints/b2WheelJoint.cpp:384:39: error: no ‘float32 b2WheelJoint::GetJointAngle() const’ member function declared in class ‘b2WheelJoint’
float32 b2WheelJoint::GetJointAngle() const
^
/home/hantewin/Test/src/flatland-master/flatland_server/thirdparty/Box2D/Dynamics/Joints/b2WheelJoint.cpp:391:46: error: no ‘float32 b2WheelJoint::GetJointAngularSpeed() const’ member function declared in class ‘b2WheelJoint’
float32 b2WheelJoint::GetJointAngularSpeed() const
^

@josephduchesne
Copy link
Member

josephduchesne commented Jun 7, 2021

I've tried to replicate this in a ros-kinetic docker container, but the build completes successfully for me (fresh install):

Docker command: (using the osrf xenial container)

docker run --rm -it --privileged --net=host --ipc=host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/home/$(id -un)/.Xauthority -e XAUTHORITY=/home/$(id -un)/.Xauthority -e DOCKER_USER_NAME=$(id -un) -e DOCKER_USER_ID=$(id -u) -e DOCKER_USER_GROUP_NAME=$(id -gn) -e DOCKER_USER_GROUP_ID=$(id -g) -e ROS_IP=127.0.0.1 ros:kinetic-ros-base-xenial

(note: --rm will delete the container when you close it, which is great for testing, but not so great for work)

Inside the container:

mkdir flatland_ws_xenial
mkdir src
cd src/
git clone https://github.com/avidbots/flatland.git
source /opt/ros/kinetic/setup.bash
rosdep init
rosdep update --rosdistro=kinetic
cd ../
rosdep install --from-paths src --ignore-src -r -y
catkin_make

Can you provide any additional information about your OS and compiler version?
The output from the following command should be enough:

cat /etc/issue; gcc -v 2>&1 | tail -n 1

In my case, inside the container I get:

Ubuntu 16.04.7 LTS \n \l

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 

@Bkarso
Copy link
Author

Bkarso commented Jun 8, 2021

root@root-System-Product-Name:~$ cat /etc/issue; gcc -v 2>&1 | tail -n 1Ubuntu 16.04.7 LTS \n \l

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)

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

2 participants