Code: Select all
$ mingw32-make
[ 47%] Built target OgreMain
[ 48%] Building CXX object RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/Win32/OgreWin32Window.cpp.obj
C:\Users\libolt\Nextcloud\builds\sources\ogre-2.0\RenderSystems\GL\src\Win32\OgreWin32Window.cpp: In member function 'virtual void Ogre::Win32Window::create(const String&, unsigned int, unsigned int, bool, const NameValuePairList*)':
C:\Users\libolt\Nextcloud\builds\sources\ogre-2.0\RenderSystems\GL\src\Win32\OgreWin32Window.cpp:261:59: error: call of overloaded 'toString(DWORD&)' is ambiguous
261 | + ::Ogre::StringConverter::toString(le)
| ^
In file included from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRenderSystemCapabilities.h:34,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRenderSystem.h:37,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreSceneManager.h:48,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreSceneManagerEnumerator.h:33,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRoot.h:34,
from C:\Users\libolt\Nextcloud\builds\sources\ogre-2.0\RenderSystems\GL\src\Win32\OgreWin32Window.cpp:33:
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:69:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(Ogre::Real, short unsigned int, short unsigned int, char, std::ios_base::fmtflags)'
69 | static String toString(Real val, unsigned short precision = 6,
| ^~~~~~~~
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:83:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(double, short unsigned int, short unsigned int, char, std::ios_base::fmtflags)'
83 | static String toString(double val, unsigned short precision = 6,
| ^~~~~~~~
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:102:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(int, short unsigned int, char, std::ios_base::fmtflags)'
102 | static String toString(int val, unsigned short width = 0,
| ^~~~~~~~
In file included from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRenderSystemCapabilities.h:34,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRenderSystem.h:37,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreSceneManager.h:48,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreSceneManagerEnumerator.h:33,
from C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreRoot.h:34,
from C:\Users\libolt\Nextcloud\builds\sources\ogre-2.0\RenderSystems\GL\src\Win32\OgreWin32Window.cpp:33:
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:107:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(unsigned int, short unsigned int, char, std::ios_base::fmtflags)'
107 | static String toString(unsigned int val,
| ^~~~~~~~
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:111:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(size_t, short unsigned int, char, std::ios_base::fmtflags)'
111 | static String toString(size_t val,
| ^~~~~~~~
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:131:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(long int, short unsigned int, char, std::ios_base::fmtflags)'
131 | static String toString(long val,
| ^~~~~~~~
C:/Users/libolt/Nextcloud/builds/sources/ogre-2.0/OgreMain/include/OgreStringConverter.h:137:23: note: candidate: 'static Ogre::String Ogre::StringConverter::toString(bool, bool)'
137 | static String toString(bool val, bool yesNo = false);
| ^~~~~~~~
mingw32-make[2]: *** [RenderSystems\GL\CMakeFiles\RenderSystem_GL.dir\build.make:553: RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/Win32/OgreWin32Window.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:183: RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/all] Error 2
mingw32-make: *** [Makefile:151: all] Error 2