Hi,
/builddir/build/BUILD/ogre-1.12.6/OgreMain/include/OgreImageCodec.h: In static member function 'static void Ogre::ImageCodec::flipEndian(void*, size_t, size_t)': /builddir/build/BUILD/ogre- 1.12.6/OgreMain/include/OgreImageCodec.h:53:13: error: 'Bitwise' has not been declared 53 | Bitwise::bswapChunks(pData, size, count);
What this means [1] , any known workaround ?
Thanks,
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=56070841
On Sun, Nov 22, 2020 at 10:17 AM Sérgio Basto sergio@serjux.com wrote:
/builddir/build/BUILD/ogre-1.12.6/OgreMain/include/OgreImageCodec.h: In static member function 'static void Ogre::ImageCodec::flipEndian(void*, size_t, size_t)': /builddir/build/BUILD/ogre- 1.12.6/OgreMain/include/OgreImageCodec.h:53:13: error: 'Bitwise' has not been declared 53 | Bitwise::bswapChunks(pData, size, count);
What this means [1] , any known workaround ?
It looks like upstream forgot about the namespace. Try patching OgreImageCodec.h to change "Bitwise" to "Ogre::Bitwise". That code is only used on big endian architectures, which is why you only see the build failure on s390x.
On Sun, 2020-11-22 at 10:32 -0700, Jerry James wrote:
On Sun, Nov 22, 2020 at 10:17 AM Sérgio Basto sergio@serjux.com wrote:
/builddir/build/BUILD/ogre- 1.12.6/OgreMain/include/OgreImageCodec.h: In static member function 'static void Ogre::ImageCodec::flipEndian(void*, size_t, size_t)': /builddir/build/BUILD/ogre- 1.12.6/OgreMain/include/OgreImageCodec.h:53:13: error: 'Bitwise' has not been declared 53 | Bitwise::bswapChunks(pData, size, count);
What this means [1] , any known workaround ?
It looks like upstream forgot about the namespace. Try patching OgreImageCodec.h to change "Bitwise" to "Ogre::Bitwise". That code is only used on big endian architectures, which is why you only see the build failure on s390x.
thank you , it was a missing include https://src.fedoraproject.org/rpms/ogre/blob/37f66aeef3df964bfe8269841b5a7f4...
Jerry James http://www.jamezone.org/ _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org