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
catkin build err:PointVisual.cpp:9: /usr/include/OGRE/OgreVector3.h: In member function 'Ogre::Vector3 Ogre::Vector3::perpendicular() const': /usr/include/OGRE/OgreVector3.h:582:20: error: implicitly-declared 'constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)' is deprecated [-Werror=deprecated-copy]
#17
Open
dbdxnuliba opened this issue
Sep 28, 2022
· 4 comments
Paste this line to CMakeList.txt in the node whole_body_state_rviz_plugin: set(CMAKE_CXX_FLAGS "-std=c++14 -Wno-unused-parameter -Wno-deprecated-copy -Wno-unused-but-set-parameter" CACHE STRING "" FORCE)
Paste this line to CMakeList.txt in the node whole_body_state_rviz_plugin: set(CMAKE_CXX_FLAGS "-std=c++14 -Wno-unused-parameter -Wno-deprecated-copy -Wno-unused-but-set-parameter" CACHE STRING "" FORCE)
ROS:noetic
ubuntu:20.04
when catkin build -j3
[ 50%] Linking C shared library /home/taimi/ref/ws_quad_ctrl/devel/lib/libosqp.so
In file included from /usr/include/OGRE/OgreMatrix3.h:33,
from /usr/include/OGRE/OgreNode.h:34,
from /usr/include/OGRE/OgreSceneNode.h:33,
from /usr/include/OGRE/OgreSceneManager.h:37,
from /home/taimi/ref/ws_quad_ctrl/src/whole_body_state_rviz_plugin-master/src/PointVisual.cpp:9:
/usr/include/OGRE/OgreVector3.h: In member function 'Ogre::Vector3 Ogre::Vector3::perpendicular() const':
/usr/include/OGRE/OgreVector3.h:582:20: error: implicitly-declared 'constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)' is deprecated [-Werror=deprecated-copy]
582 | return perp;
| ^~~~
/usr/include/OGRE/OgreVector3.h:134:25: note: because 'Ogre::Vector3' has user-provided 'Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)'
134 | inline Vector3& operator = ( const Vector3& rkVector )
| ^~~~~~~~
/usr/include/OGRE/OgreVector3.h: In member function 'Ogre::Quaternion Ogre::Vector3::getRotationTo(const Ogre::Vector3&, const Ogre::Vector3&) const':
/usr/include/OGRE/OgreVector3.h:661:27: error: implicitly-declared 'constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)' is deprecated [-Werror=deprecated-copy]
661 | Vector3 v0 = *this;
| ^~~~
/usr/include/OGRE/OgreVector3.h:134:25: note: because 'Ogre::Vector3' has user-provided 'Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)'
134 | inline Vector3& operator = ( const Vector3& rkVector )
| ^~~~~~~~
/usr/include/OGRE/OgreVector3.h:662:26: error: implicitly-declared 'constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)' is deprecated [-Werror=deprecated-copy]
662 | Vector3 v1 = dest;
| ^~~~
/usr/include/OGRE/OgreVector3.h:134:25: note: because 'Ogre::Vector3' has user-provided 'Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)'
134 | inline Vector3& operator = ( const Vector3& rkVector )
| ^~~~~~~~
/usr/include/OGRE/OgreVector3.h:670:36: error: implicitly-declared 'constexpr Ogre::Quaternion::Quaternion(const Ogre::Quaternion&)' is deprecated [-Werror=deprecated-copy]
670 | return Quaternion::IDENTITY;
| ^~~~~~~~
In file included from /usr/include/OGRE/OgreVector3.h:33,
The text was updated successfully, but these errors were encountered: