-
Notifications
You must be signed in to change notification settings - Fork 415
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
ld error during catkin build #35
Comments
Which operating system are you using? This assumes you're on the Ubuntu LTS distro that corresponds to the ROS Distro, using the default That is for example: ROS Noetic + Focal Fossa + GCC 9.3 |
I use ubuntu 20.04 and noetic.
Basically many of them get this problem.
You delete whole files from catkin folder and run catkin_make.
Nxt step I will let you know.
…On Mon, Mar 1, 2021, 2:19 AM Tom Lankhorst ***@***.***> wrote:
Which operating system are you using? This assumes you're on the Ubuntu
LTS distro that corresponds to the ROS Distro, using the default g++/gcc
compilers.
That is for example: ROS Noetic + Focal Fossa + GCC 9.3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ7GXT4NKIZRWUQCLOMDX3LTBKT33ANCNFSM4YDJ7GOQ>
.
|
@tomlankhorst Yes, I'm using ROS Noetic + Focal Fossa + GCC 9.3 |
Would you mind compiling again, with the VERBOSE=1 variable set? Did you compile with |
With Could you maybe tell me how to complie with the VERBOSE=1 variable set? I can then try to compile it again. |
Sorry for my late reply. What is the value of your CC and CXX environment variables? What is the output of the following commands?
Then, a quick compiler test, can you compile c++ hello world?
|
When I tried to build the project with catkin build, it returns error like this:
After I searched the Internet, I found that it is probably because cmake didn't use the right compiler. See this https://stackoverflow.com/questions/59536040/libstdc-so-6-error-adding-symbols-dso-missing-from-command-line
I think it might need to add a line like this in the CMakeLists.txt
or simply modify the project line to
The text was updated successfully, but these errors were encountered: