-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
install error about gtest #67
Comments
Did you manually drop a gtest .so or .a file into your library paths? |
@SirVer |
This could be related to ros/catkin#830, maybe this goes away if we do not call |
So should I comment this function about add_gtest in CMake? |
That might fix the issue for now - You can also comment the |
Another problem accrued... |
Seems like an incompatibility in the compiler. GUARDED_BY seems to not be found. Please set the environment variable |
|
This seems good |
What does |
Quite wired. Conclude that: Thank you very much @SirVer |
When running 2d demo:
How can I debug that? |
Does the demo work? I think this is due to the sensor data arriving at different times - We do not have a pose information before the first scan match, so any data before (like in this case from the IMU) can be transformed yet. So this is working as intended. |
No, it does not work. |
From the output above it is hard to know where the process died. Is there not more output - like a LOG(FATAL) somewhere? I suggest you try running our docker image and see if everything works with that. |
I cannot reproduce this. Using a pristine docker container based on For running the demo, I needed to install Closing since I cannot reproduce. The gtest issues is tracked in #73. |
I had the same error and I commented out line 34 in in src/cartographer_ros/cartographer_ros/CMakeLists.txt. The program compiled till 4/5 and then gave me this error (I am using Ubuntu 16.04 and ROS Kinetic with g++ 5.4.0). CMake Error at /opt/ros/kinetic/share/catkin/cmake/assert.cmake:3 (message): Assertion failed: GTEST_LIBRARIES (value is '') Call Stack (most recent call first): -- Configuring incomplete, errors occurred! Reproduce this error by running: Command failed, exiting. Are there more lines I would need to comment out and from which files? Any help is appreciated thanks! |
To me it looks like you have a non-default version of gtest or in your library path. More details are needed here.
As always, perhaps you already did this, please retry with a current checkout from git and compile again after deleting all build/install folders. Of course, you could work around by commenting out |
I got the same problem as @snehagn CMake Error at /opt/ros/indigo/share/catkin/cmake/assert.cmake:3 (message): Assertion failed: GTEST_LIBRARIES (value is 'GMOCK_LIBRARIES-NOTFOUND') Call Stack (most recent call first): -- Configuring incomplete, errors occurred! Reproduce this error by running==> cd /home/roland/catkin_ws/build_isolated/cartographer_ros && /home/roland/catkin_ws/install_isolated/env.sh ninja build.ninja Command failed, exiting. And I already set the environment variable export VERBOSE=1. But still it comes out anyway. |
@RuochenYin Please open a new issue and provide the full output of all commands you ran to set up your catkin workstation. |
I'm installing cartographer_ros in ubuntu 14.04 and ROS indigo.
gcc version is 4.8.
Through the instruction of
https://google-cartographer-ros.readthedocs.io/en/latest/
I build a ros-workspace named cartographer_ws(Cause I already have a workspace named catkin_ws)
When I try to execute
catkin_make_isolated --install --use-ninja
I got output like that:
When I directly install in in the catkin_ws, I got the same error.
The text was updated successfully, but these errors were encountered: