Skip to content

error when building hpipm-cpp #17

Description

@Leon-LXA

I'm using a ubuntu20.04 image in docker. After building blasfeo and hpipm, I encounter error when building hpipm-cpp when make:

root@leon-Blade-16-RZ09-0528:/tmp/hpipm-cpp/build# make
Scanning dependencies of target hpipm-cpp
[ 10%] Building CXX object CMakeFiles/hpipm-cpp.dir/src/detail/d_ocp_qp_dim_wrapper.cpp.o
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp: In constructor ‘hpipm::d_ocp_qp_dim_wrapper::d_ocp_qp_dim_wrapper(hpipm::d_ocp_qp_dim_wrapper&&)’:
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:59:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsbx’; did you mean ‘nbx’?
59 | other.ocp_qp_dim_hpipm_.nsbx = nullptr;
| ^~~~
| nbx
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:60:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsbu’; did you mean ‘nbu’?
60 | other.ocp_qp_dim_hpipm_.nsbu = nullptr;
| ^~~~
| nbu
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:61:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsg’; did you mean ‘ng’?
61 | other.ocp_qp_dim_hpipm_.nsg = nullptr;
| ^~~
| ng
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp: In member function ‘hpipm::d_ocp_qp_dim_wrapper& hpipm::d_ocp_qp_dim_wrapper::operator=(hpipm::d_ocp_qp_dim_wrapper&&)’:
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:91:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsbx’; did you mean ‘nbx’?
91 | other.ocp_qp_dim_hpipm_.nsbx = nullptr;
| ^~~~
| nbx
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:92:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsbu’; did you mean ‘nbu’?
92 | other.ocp_qp_dim_hpipm_.nsbu = nullptr;
| ^~~~
| nbu
/tmp/hpipm-cpp/src/detail/d_ocp_qp_dim_wrapper.cpp:93:27: error: ‘struct d_ocp_qp_dim’ has no member named ‘nsg’; did you mean ‘ng’?
93 | other.ocp_qp_dim_hpipm_.nsg = nullptr;
| ^~~
| ng
make[2]: *** [CMakeFiles/hpipm-cpp.dir/build.make:63: CMakeFiles/hpipm-cpp.dir/src/detail/d_ocp_qp_dim_wrapper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/hpipm-cpp.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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