Skip to content

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

@silcki

Description

@silcki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions