Skip to content

Unable to run build.sh (./host_api.h:8:10: fatal error: 'map' file not found) #6

Description

@jchai01

OS: Ubuntu 22.04.5 LTS
I have installed the necessary dependencies: sudo apt install build-essential pkg-config libavcodec-dev libavutil-dev

Making clean in wrapper
make[1]: Entering directory '/home/jchai/repos/davinci-linux-aac-codec/wrapper'
rm -f ../build/host_api.o ../build/plugin_api.o
make[1]: Leaving directory '/home/jchai/repos/davinci-linux-aac-codec/wrapper'
rm -rf ./build
rm -rf ./bin
mkdir -p ./build
mkdir -p ./bin
mkdir -p ./build/wrapper  # Ensure wrapper directory exists
Making wrapper
make[1]: Entering directory '/home/jchai/repos/davinci-linux-aac-codec/wrapper'
clang++ -c -o ../build/host_api.o host_api.cpp -fPIC  -std=c++11 -Wall -I../include -O2
In file included from host_api.cpp:1:
./host_api.h:8:10: fatal error: 'map' file not found
#include <map>
         ^~~~~
1 error generated.
make[1]: *** [Makefile:15: ../build/host_api.o] Error 1
make[1]: Leaving directory '/home/jchai/repos/davinci-linux-aac-codec/wrapper'
clang++ -c -o build/plugin.o plugin.cpp -fPIC  -std=c++11 -Wall -I./include -O2 -I.//wrapper -I/usr/include/c++/14 -stdlib=libstdc++ -I/usr/include/c++/x86_64-redhat-linux/14
In file included from plugin.cpp:1:
In file included from ./plugin.h:3:
In file included from ./wrapper/plugin_api.h:5:
.//wrapper/host_api.h:8:10: fatal error: 'map' file not found
#include <map>
         ^~~~~
1 error generated.
make: *** [Makefile:35: build/plugin.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions