Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casadi build failure on Windows on proxqp interface #1570

Open
S-Dafarra opened this issue Jan 12, 2024 · 0 comments
Open

Casadi build failure on Windows on proxqp interface #1570

S-Dafarra opened this issue Jan 12, 2024 · 0 comments

Comments

@S-Dafarra
Copy link
Collaborator

I am on the https://github.com/robotology/robotology-superbuild/tree/releases/2023.11, on Windows 11, compiling with Visual Studio 2022 Version 17.8.3

I have the following errors when trying to compile casadi

(robsub) C:\Software\robotology-superbuild\build\src\casadi>cmake --build . --config Release --target INSTALL
MSBuild version 17.8.3+195e7f5a3 for .NET Framework

  casadi.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi.dll
  _casadi.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\_casadi.pyd
  casadi_conic_ipqp.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_conic_ipqp.dll
  casadi_conic_nlpsol.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_conic_nlpsol.dll
  casadi_conic_osqp.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_conic_osqp.dll
  proxqp_interface.cpp
C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(52,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-su
perbuild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(52,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(56,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_inplace_constructible<void,T,Ts...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(28,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn_once<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(28,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(30,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(30,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(34,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn_mut<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(34,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(36,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(36,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(40,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(40,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(22,1): error C2039: 'value': is not a member of 'proxsuite::linalg::veg::meta' [C:\Software\robotology
-superbuild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\util\unreachable.hpp(11,11):
  see declaration of 'proxsuite::linalg::veg::meta'
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(22,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\results.hpp(204,2):
        see reference to class template instantiation 'proxsuite::proxqp::Results<T>' being compiled
        C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\results.hpp(79,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::mem::DtorAvailableFor<T>' being compiled
          with
          [
              T=bool
          ]
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\memory\alloc.hpp(156,20):
        see reference to variable template 'const bool &nothrow_destructible<bool>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\sparse\model.hpp(37,27): error C2976: 'proxsuite::linalg::veg::Vec': too few template arguments [C:\Software\robotology-superbuild\build
\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\vec.hpp(1006,1):
  see declaration of 'proxsuite::linalg::veg::Vec'

  proxqp_interface_meta.cpp
C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(52,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-su
perbuild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(52,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(56,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_inplace_constructible<void,T,Ts...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(28,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn_once<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(28,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(30,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(30,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(34,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn_mut<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(34,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(36,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(36,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(40,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_fn<void,Fn,Ret,Args...>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\invocable.hpp(40,1): error C3546: '...': there are no parameter packs available to expand [C:\Software\robotology-superb
uild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')

C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(22,1): error C2039: 'value': is not a member of 'proxsuite::linalg::veg::meta' [C:\Software\robotology
-superbuild\build\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\util\unreachable.hpp(11,11):
  see declaration of 'proxsuite::linalg::veg::meta'
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\type_traits\constructible.hpp(22,1):
  the template instantiation context (the oldest one first) is
        C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\results.hpp(204,2):
        see reference to class template instantiation 'proxsuite::proxqp::Results<T>' being compiled
        C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\results.hpp(79,1):
        see reference to class template instantiation 'proxsuite::linalg::veg::mem::DtorAvailableFor<T>' being compiled
          with
          [
              T=bool
          ]
        C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\memory\alloc.hpp(156,20):
        see reference to variable template 'const bool &nothrow_destructible<bool>' being compiled

C:\Software\robotology-superbuild\build\install\include\proxsuite\proxqp\sparse\model.hpp(37,27): error C2976: 'proxsuite::linalg::veg::Vec': too few template arguments [C:\Software\robotology-superbuild\build
\src\casadi\casadi\interfaces\proxqp\casadi_conic_proxqp.vcxproj]
  (compiling source file '../../../../../../src/casadi/casadi/interfaces/proxqp/proxqp_interface_meta.cpp')
  C:\Software\robotology-superbuild\build\install\include\proxsuite\linalg\veg\vec.hpp(1006,1):
  see declaration of 'proxsuite::linalg::veg::Vec'

  Generating Code...
  casadi_conic_qrqp.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_conic_qrqp.dll
  casadi_importer_shell.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_importer_shell.dll
  casadi_integrator_collocation.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_integrator_collocation.dll
  casadi_sundials.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_sundials.lib
  casadi_sundials_common.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_sundials_common.dll
  casadi_integrator_cvodes.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_integrator_cvodes.dll
  casadi_integrator_idas.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_integrator_idas.dll
  casadi_integrator_rk.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_integrator_rk.dll
  casadi_interpolant_bspline.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_interpolant_bspline.dll
  casadi_interpolant_linear.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_interpolant_linear.dll
  casadi_csparse.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_csparse.lib
  casadi_linsol_csparse.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_csparse.dll
  casadi_linsol_csparsecholesky.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_csparsecholesky.dll
  casadi_linsol_ldl.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_ldl.dll
  casadi_linsol_lsqr.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_lsqr.dll
  casadi_linsol_qr.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_qr.dll
  casadi_linsol_symbolicqr.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_symbolicqr.dll
  casadi_linsol_tridiag.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_linsol_tridiag.dll
  casadi_nlpsol_feasiblesqpmethod.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_nlpsol_feasiblesqpmethod.dll
  casadi_nlpsol_ipopt.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_nlpsol_ipopt.dll
  casadi_nlpsol_qrsqp.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_nlpsol_qrsqp.dll
  casadi_nlpsol_scpgen.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_nlpsol_scpgen.dll
  casadi_nlpsol_sqpmethod.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_nlpsol_sqpmethod.dll
  casadi_rootfinder_fast_newton.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_rootfinder_fast_newton.dll
  casadi_rootfinder_kinsol.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_rootfinder_kinsol.dll
  casadi_rootfinder_newton.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_rootfinder_newton.dll
  casadi_rootfinder_nlpsol.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_rootfinder_nlpsol.dll
  casadi_xmlfile_tinyxml.vcxproj -> C:\Software\robotology-superbuild\build\src\casadi\Release\casadi_xmlfile_tinyxml.dll

Related upstream issue: Simple-Robotics/proxsuite#289 and possible PR fix: Simple-Robotics/proxsuite#290

I have switched to the devel branch and the problem got fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant