You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran the hover_vicon.launch,the following error occurred.
In file included from /usr/include/c++/5/array:35:0,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/RetimingClient.h:28,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/CoreClient.h:27,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp:31:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
In file included from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp:29:0:
/home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.h:57:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr< std::vector< unsigned char > > m_Data;
^
In file included from /usr/include/c++/5/array:35:0,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/RetimingClient.h:28,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/CoreClient.h:27,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp:29:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
^Cvicon_bridge/CMakeFiles/vicon_sdk.dir/build.make:86: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp.o' failed
make[2]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp.o] Interrupt
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/catkin_make", line 298, in
sys.exit(main())
File "/opt/ros/kinetic/bin/catkin_make", line 242, in main
run_command(cmd, make_path)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 239, in run_command
vicon_bridge/CMakeFiles/vicon_sdk.dir/build.make:62: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp.o' failed
make[2]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp.o] Interrupt
proc.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
CMakeFiles/Makefile2:4304: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/all' failed
make[1]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/all] Interrupt
Makefile:138: recipe for target 'all' failed
make: *** [all] Interrupt
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
The text was updated successfully, but these errors were encountered:
Add the following statement to the CMakeLists.txt:
SET( CMAKE_CXX_FLAGS "-std=c++11 -O3")
ddwy
changed the title
hover_vicon.launch error
hover_vicon.launch error This file requires compiler and library support for the ISO C++ 2011 standard.
May 17, 2021
ddwy
changed the title
hover_vicon.launch error This file requires compiler and library support for the ISO C++ 2011 standard.
hover_vicon.launch. error:This file requires compiler and library support for the ISO C++ 2011 standard.
May 17, 2021
When I ran the hover_vicon.launch,the following error occurred.
In file included from /usr/include/c++/5/array:35:0,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/RetimingClient.h:28,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/CoreClient.h:27,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp:31:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
In file included from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp:29:0:
/home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.h:57:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr< std::vector< unsigned char > > m_Data;
^
In file included from /usr/include/c++/5/array:35:0,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/RetimingClient.h:28,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDKCore/CoreClient.h:27,
from /home/ubuntu/ros_ws/src/vicon_bridge/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp:29:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
^Cvicon_bridge/CMakeFiles/vicon_sdk.dir/build.make:86: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp.o' failed
make[2]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamRetimingClient.cpp.o] Interrupt
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/catkin_make", line 298, in
sys.exit(main())
File "/opt/ros/kinetic/bin/catkin_make", line 242, in main
run_command(cmd, make_path)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 239, in run_command
vicon_bridge/CMakeFiles/vicon_sdk.dir/build.make:62: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp.o' failed
make[2]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/vicon_sdk/DataStream/ViconDataStreamSDK_CPP/DataStreamClient.cpp.o] Interrupt
proc.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
CMakeFiles/Makefile2:4304: recipe for target 'vicon_bridge/CMakeFiles/vicon_sdk.dir/all' failed
make[1]: *** [vicon_bridge/CMakeFiles/vicon_sdk.dir/all] Interrupt
Makefile:138: recipe for target 'all' failed
make: *** [all] Interrupt
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
The text was updated successfully, but these errors were encountered: