Thanks, that fixed the error. Unfortunately it now dies building the OpenGL Rendersystem
Code: Select all
[ 37%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/win32/OgreWin32Context.cpp.obj
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreBlendMode.h:32:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreColourValue.h:321:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::ColourValue&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreColourValue.h:321:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::ColourValue&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreQuaternion.h:40:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector3.h:32,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMath.h:85:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Radian&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMath.h:85:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Radian&)' declared as dllimport: attribute ignored [-Wattributes]
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMath.h:136:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Degree&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMath.h:136:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Degree&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector3.h:32:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreQuaternion.h:334:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Quaternion&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreQuaternion.h:334:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Quaternion&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector3.h:33:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector2.h:594:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector2&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector2.h:594:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector2&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:33:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector3.h:783:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector3&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector3.h:783:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector3&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:34:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:257:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Matrix3&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix3.h:257:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Matrix3&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:35:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector4.h:415:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector4&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreVector4.h:415:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Vector4&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreTextureUnitState.h:34:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderSystem.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/RenderSystems/GLSupport/include/OgreGLRenderSystemCommon.h:32,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:34:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:526:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Matrix4&)' declared as dllimport: attribute ignored [-Wattributes]
inline _OgreExport friend std::ostream& operator <<
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreMatrix4.h:526:49: warning: inline function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::Matrix4&)' declared as dllimport: attribute ignored [-Wattributes]
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgrePlaneBoundedVolume.h:33:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRay.h:34,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreSceneQuery.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreSceneManager.h:40,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreSceneManagerEnumerator.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRoot.h:34,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:35:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreAxisAlignedBox.h:353:42: error: function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::AxisAlignedBox&)' definition is marked dllimport
_OgreExport friend std::ostream& operator<<( std::ostream& o, const AxisAlignedBox &aab )
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreAxisAlignedBox.h:353:42: error: function 'std::ostream& Ogre::operator<<(std::ostream&, const Ogre::AxisAlignedBox&)' definition is marked dllimport
In file included from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreSceneManager.h:44:0,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreSceneManagerEnumerator.h:33,
from C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRoot.h:34,
from C:\Users\mmclean\Nextcloud\builds\sources\ogre-1.10\RenderSystems\GLSupport\src\win32\OgreWin32Context.cpp:35:
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderQueueSortingGrouping.h:137:30: error: function 'bool Ogre::QueuedRenderableCollection::PassGroupLess::operator()(const Ogre::Pass*, const Ogre::Pass*) const' definition is marked dllimport
bool _OgreExport operator()(const Pass* a, const Pass* b) const
^~~~~~~~
C:/Users/mmclean/Nextcloud/builds/sources/ogre-1.10/OgreMain/include/OgreRenderQueueSortingGrouping.h:163:30: error: function 'bool Ogre::QueuedRenderableCollection::DepthSortDescendingLess::operator()(const Ogre::RenderablePass&, const Ogre::RenderablePass&) const' definition is marked dllimport
bool _OgreExport operator()(const RenderablePass& a, const RenderablePass& b) const
^~~~~~~~
RenderSystems\GLSupport\CMakeFiles\OgreGLSupport.dir\build.make:62: recipe for target 'RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/win32/OgreWin32Context.cpp.obj' failed
mingw32-make[2]: *** [RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/win32/OgreWin32Context.cpp.obj] Error 1
CMakeFiles\Makefile2:163: recipe for target 'RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/all' failed
mingw32-make[1]: *** [RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2