View previous topic :: View next topic |
Author |
Message |
alecStewart1 Apprentice
Joined: 03 Jul 2022 Posts: 174
|
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2887
|
Posted: Sat Aug 27, 2022 11:25 pm Post subject: |
|
|
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 |
|
|
alecStewart1 Apprentice
Joined: 03 Jul 2022 Posts: 174
|
Posted: Sat Aug 27, 2022 11:58 pm Post subject: |
|
|
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 |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2887
|
|
Back to top |
|
|
|