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

Cannot catkin_make #23

Closed
Kn15263ss opened this issue Aug 10, 2017 · 6 comments
Closed

Cannot catkin_make #23

Kn15263ss opened this issue Aug 10, 2017 · 6 comments

Comments

@Kn15263ss
Copy link

Hi~ I have a little problem
I use ubuntu 14.04 , ROS:indigo
When i catkin_make, i encounter a problem:
image
image

How to fix this problem?
Thanks you!

@mbjelonic
Copy link
Collaborator

mbjelonic commented Aug 11, 2017

Hi,

I think the gnu compiler 4.8 does not fully support c++11. Please try to use gnu 4.9.2 or higher. For reference: I am using version 5.4.0 on my tx2.

Please let me know if this solves the issue. Thanks!

Best,
Marko

@Kn15263ss
Copy link
Author

Kn15263ss commented Aug 13, 2017

I have install gcc and g++ version 7.1.0, but I don't know what is gnu.
image
image

@mbjelonic
Copy link
Collaborator

Check out this: https://gcc.gnu.org/

Updating gcc is exactly what I meant. Is it still not working?

@Kn15263ss
Copy link
Author

Yes! It is still not working

@Hothaifa
Copy link

I had the same problem and i'm still using gcc 4.8. you can fix it by adding --std=c++11 to NVCC_FLAG in the CMakeLists.txt. i created a pull request about this problem

@BolinZhou
Copy link

BolinZhou commented Oct 23, 2017

I think this has to do with the darknet architecture supports. I think the original darknet had commented out the line -gencode arch=compute_20,code=[sm_20,sm_21] of the darknet_ros/darknet_ros/CMakeLists.txt try it without that line

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

5 participants