Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no template named 'stack' in namespace 'std' #940

Open
silcki opened this issue Oct 9, 2023 · 0 comments
Open

error: no template named 'stack' in namespace 'std' #940

silcki opened this issue Oct 9, 2023 · 0 comments

Comments

@silcki
Copy link

silcki commented Oct 9, 2023

Hi mates,
when I try to make Malmo from the source, I get an error

[ 28%] Building CXX object Malmo/src/CMakeFiles/Malmo.dir/VideoFrameWriter.cpp.o
In file included from /path/to/MalmoPlatform/Malmo/src/VideoFrameWriter.cpp:27:
/path/to/MalmoPlatform/Malmo/src/PosixFrameWriter.h:48:21: error: no template named 'stack' in namespace 'std'
        static std::stack<pid_fd> child_process_stack;
               ~~~~~^
1 error generated.
make[2]: *** [Malmo/src/CMakeFiles/Malmo.dir/VideoFrameWriter.cpp.o] Error 1
make[1]: *** [Malmo/src/CMakeFiles/Malmo.dir/all] Error 2
make: *** [all] Error 2

macOS Ventura 13.6
JAVA 1.8
Python 3.10

% gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant