Skip to content

python library linking #157

@loriab

Description

@loriab

Currently the EinsumsPy module is using pybind11::embed, which links the python library, rather than pybind11::module, as it should. All the usual symbol errors if you try to downgrade to module. From testing, this doesn't come about from the einsumspy code but from the need to link it to the Einsums::Einsums target. You can take a generic toy pb11 module and upon applying the first line below, it also needs the second. This should be remedied evenually.

target_link_libraries(pyeinsums PRIVATE Einsums::Einsums)
target_link_libraries(pyeinsums PRIVATE pybind11::embed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions