Skip to content

boost::multi_index_container not found #85

@martinfantini

Description

@martinfantini

Hi I add boost in yaml for the actions like:

      - name: Install Boost
        uses: MarkusJx/install-boost@v2.4.5
        id: install-boost
        with:
          boost_version: 1.88.0
      - name: configure
        run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBoost_INCLUDE_DIR="${{steps.install-boost.outputs.BOOST_ROOT}}/include" -DBoost_LIBRARY_DIRS="${{steps.install-boost.outputs.BOOST_ROOT}}/lib"
        env:
          BOOST_ROOT: ${{steps.install-boost.outputs.BOOST_ROOT}}

And inside the code, I use: #include <boost/multi_index/composite_key.hpp>

And i have an this error:

/home/runner/work/DCC-Central/DCC-Central/include/Common/LocoCache.hpp:4:10: fatal error: boost/multi_index_container.hpp: No such file or directory
    4 | #include <boost/multi_index_container.hpp>

It seems to not find the boost/multi_index_container.hpp in the includes.

Metadata

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