Skip to content

Problem in Dockerfile with installation of library #1304

Closed
@DragonOsman

Description

I'm trying to build a Dockerfile for the project I've been working on that uses this library. The Dockerfile build output can be seen on this Paste: https://pastebin.com/hT1Ha6Lc . Could someone please tell me what I did and what I didn't do that I should've done? If needed, I'll also post the main part the problem is at:

Step 8/12 : RUN g++ -std=c++14 -Wall -pedantic -I app/jinja2cpp/install/include -I app/json/include -I app/json/single_include -I /usr/local/include/ -I app/jinja2cpp/thirdparty/nonstd/value-ptr-lite/include currency_converter.cpp -L app/jinja2cpp/install/lib/static -ljinja2cpp -L usr/local/lib/stage/lib/ -lboost_system -lpthread -o currency_converter
 ---> Running in bfb27a00d9c8
currency_converter.cpp:29:10: fatal error: nlohmann/json.hpp: No such file or directory
 #include <nlohmann/json.hpp>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

Any help is appreciated. Thanks in advance.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions