Skip to content

everest-framwork fails to build when /usr/include/python3.11 does not exist #40

@catarial

Description

@catarial

While building everest-framework in version 2024.9.0-rc3, pybind11_json fails to configure due to the directory /usr/include/python3.11 not existing. I was able to get around this by just creating an empty directory there.

I'm using the kas-container from https://github.com/siemens/kas as my build environment

This is being caused by this variable in the pybind11_json CMakeLists.txt

target_include_directories(${PROJECT_NAME}
                           INTERFACE
                           ${PYTHON_INCLUDE_DIRS}
                           $<BUILD_INTERFACE:${PYBIND11_JSON_INCLUDE_DIR}>
                           $<INSTALL_INTERFACE:include>)

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