8000 Incorrect include statements for hpipm, catch, blasfeo · Issue #1413 · acados/acados · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Incorrect include statements for hpipm, catch, blasfeo #1413
Open
@yurivict

Description

@yurivict

For example, here.

The hpipm package installs these files into the $PREFIX/include directory:

$ sudo pkg info -l hpipm | grep hpipm_d_ocp_qp
        /usr/local/include/hpipm_d_ocp_qp.h
        /usr/local/include/hpipm_d_ocp_qp_dim.h
        /usr/local/include/hpipm_d_ocp_qp_ipm.h
        /usr/local/include/hpipm_d_ocp_qp_kkt.h
        /usr/local/include/hpipm_d_ocp_qp_red.h
        /usr/local/include/hpipm_d_ocp_qp_res.h
        /usr/local/include/hpipm_d_ocp_qp_sol.h
        /usr/local/include/hpipm_d_ocp_qp_utils.h

Therefore, the correct way to include them is simply

#include <hpipm_d_ocp_qp.h>
#include <hpipm_d_ocp_qp_dim.h>
#include <hpipm_d_ocp_qp_res.h>
#include <hpipm_d_ocp_qp_sol.h>

The way how they are included makes it difficult to unbundle hpipm, and bundling might cause version mismatches with the pre-installed hpipm package.

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

      0