Skip to content

Commit a4919f5

Browse files
roehlingrhaschke
authored andcommitted
Fix compilation with OGRE 1.12
1 parent b75a2b4 commit a4919f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rviz/ogre_helpers/movable_text.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
*/
4141

4242
#include "movable_text.h"
43+
#include <rviz/ogre_helpers/version_check.h>
4344

4445
#include <OGRE/OgreVector3.h>
4546
#include <OGRE/OgreQuaternion.h>
@@ -50,7 +51,11 @@
5051
#include <OGRE/OgreHardwareBufferManager.h>
5152
#include <OGRE/Overlay/OgreFontManager.h>
5253
#include <OGRE/Overlay/OgreFont.h>
54+
#if OGRE_VERSION < OGRE_VERSION_CHECK(1, 12, 0)
5355
#include <OGRE/OgreUTFString.h>
56+
#else
57+
#include <OGRE/Overlay/OgreUTFString.h>
58+
#endif
5459

5560
#include <sstream>
5661

0 commit comments

Comments
 (0)