Ask Your Question
0

what is EnableCXX11 actually?

asked 2019-01-15 09:23:29 -0500

Ibrahim_aerospace gravatar image

Hello guys! I downloaded a package from github, in the CMakeLists.txt file there is a line include(EnableCXX11), So when I compile the package it gives me the error that:

  include could not find load file: EnableCXX11

So my question is, what actually EnableCXX11 is ? Is this a kind of package or something else and how to solve this problem? Thanks

edit retag flag offensive close merge delete

Comments

1

Could you provide a link to the github repository in question. Then we can have a look in some more detail.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-01-16 18:28:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-16 03:44:13 -0500

curi_ROS gravatar image

If you are running ROS Kinetic or higher, and want to compile C++11 code, add the line add_compile_options(-std=c++11) to your CMakeLists.txt

edit flag offensive delete link more

Comments

1

This does not seem to answer the question the OP posted.

gvdhoorn gravatar image gvdhoorn  ( 2019-01-16 06:00:04 -0500 )edit

@curi_ROS thanks for your comment but the line you mentioned I already added, I dont think so this is the problem. @gvdhoorn is right this is not the answer I want to know.

Ibrahim_aerospace gravatar image Ibrahim_aerospace  ( 2019-01-16 06:07:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-01-15 09:23:29 -0500

Seen: 90 times

Last updated: Jan 16 '19