-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
build error #75
Comments
I have the same question, have you solved it? |
I change the version of googletest to 1.7.0, and solved this problem. |
@tuxiangxianzhe just for me to understand a bit better. Are you saying that you have changed the GoogleTest library version installed on your system? Which one is installed by default? |
Since ubuntu 18.04 does not come with googletest, I previously install the version 1.11.0 from GitHub (https://github.com/google/googletest/releases), which is the latest version. |
Understood. I'll add that to the readme. |
I added the notice to the readme and am closing this issue. |
Un, maybe my expression is not clear. |
some error when I build
Errors << depth_clustering:make /home/dgist/workspace/git-folder/clustering_ws/logs/depth_clustering/build.make.002.log
CMakeFiles/depth_clustering_test.dir/test_pose.cpp.o: In function
PoseDeathTest_TestLikelihood_Test::TestBody()': test_pose.cpp:(.text+0x585d): undefined reference to
testing::internal::DeathTest::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>, char const*, int, testing::internal::DeathTest**)'test_pose.cpp:(.text+0x5928): undefined reference to `testing::internal::DeathTest::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>, char const*, int, testing::internal::DeathTest**)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/dgist/workspace/git-folder/clustering_ws/devel/.private/depth_clustering/lib/depth_clustering/depth_clustering_test] Error 1
make[1]: *** [test/CMakeFiles/depth_clustering_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/dgist/workspace/git-folder/clustering_ws/build/depth_clustering; catkin build --get-env depth_clustering | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << depth_clustering:make [ Exited with code 2 ]
Failed <<< depth_clustering
what is happen?
my PC setting is
my command is
$ pip install catkin-tools
$ catkin build depth_clustering
The text was updated successfully, but these errors were encountered: