Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't build OpenMW, seems to be an issue with MyGUI
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
alecStewart1
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2022
Posts: 128

PostPosted: Sat Aug 27, 2022 11:01 pm    Post subject: Can't build OpenMW, seems to be an issue with MyGUI Reply with quote

Hello friends,

I'm trying to install games-engines/openmw to play Morrowind, and I can't get it to build.

Here's what I get towards the end of the build process

Here's something that's maybe interesting at the beginning of where the OpenMW package is being built.

Here's emerge -pqv 'games-engines/openmw-0.47.0-r1::gentoo'.

Here's emerge --info '=games-engines/openmw-0.47.0-r1::gentoo'.

Here's what's in my package.use for packages related to and that are for OpenMW:

Code:

sci-physics/bullet double-precision
dev-games/openscenegraph-openmw sdl2 # I've tried building with this fork, it runs into the same issue as with mygui as not building with the fork
games-engines/openmw -osg-fork -qt5
dev-games/openscenegraph collada sdl
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2727

PostPosted: Sat Aug 27, 2022 11:25 pm    Post subject: Reply with quote

These don't show the error I can see but I think it's probably https://bugs.gentoo.org/858725

As bug summary shows, your log should have something that looks like this somewhere if it is:
Code:
error: ‘unique_ptr’ is not a member of ‘std’

Haven't tried building but does look like a typical missing include issue triggered by gcc12 (which I see you're using). I'll have a look at fixing it myself fairly soon if I don't run into more problems.

Edit: I don't recommend to go back to gcc11 as a workaround, that's messy with C++ libraries unless recompile them all, and openmw uses tons of these.


Last edited by Ionen on Sun Aug 28, 2022 12:53 am; edited 1 time in total
Back to top
View user's profile Send private message
alecStewart1
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2022
Posts: 128

PostPosted: Sat Aug 27, 2022 11:58 pm    Post subject: Reply with quote

Ionen wrote:
These don't show the error I can see but I think it's probably https://bugs.gentoo.org/858725

As bug summary shows, your log should have something that looks like this somewhere if it is:
Code:
error: ‘unique_ptr’ is not a member of ‘std’



Ah yea I just grepped the build log file and found:

Code:

/var/tmp/portage/portage/games-engines/openmw-0.47.0-r1/work/openmw-openmw-0.47.0/components/myguiplatform/myguidatamanager.cpp:21:10: error: 'unique_ptr' is not a member of 'std'
   21 |     std::unique_ptr<boost::filesystem::ifstream> stream;
/var/tmp/portage/portage/games-engines/openmw-0.47.0-r1/work/openmw-openmw-0.47.0/components/myguiplatform/myguidatamanager.cpp:9:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?
   21 |     std::unique_ptr<boost::filesystem::ifstream> stream;
   21 |     std::unique_ptr<boost::filesystem::ifstream> stream;
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2727

PostPosted: Sun Aug 28, 2022 12:13 am    Post subject: Reply with quote

Hopefully fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ff79ab

May need to wait ~20-40m for this to hit mirrors to --sync, or you could grab the patch directly.
https://gitweb.gentoo.org/repo/gentoo.git/plain/games-engines/openmw/files/openmw-0.47.0-gcc12.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum