Closed Veng97 closed 1 year ago
My gcc and clang versions were too old (i tried them both). I was trying to compile with an older version of gcc than the one stated in the README :dancers: I use Clang for my project, so i updated the Clang to version 15 (default shipped with ubuntu20.04 was Clang-10), this also resolved the error! :)
Hello,
I have an issue trying to use this library, i might be doing something wrong in my CMakeLists.txt file, but i have no idea if that's the underlying issue.
Setup: Compiling with C++20 Using target_link_library(my_application mpc++)
Its throwing the following errors: In file included from /usr/local/include/mpc/NLMPC.hpp:3: In file included from /usr/local/include/mpc/IMPC.hpp:3: /usr/local/include/mpc/IDimensionable.hpp:22:23: error: a non-type template parameter cannot have type 'mpc::MPCSize' template
^
/usr/local/include/mpc/IDimensionable.hpp:87:19: error: expected '(' for function-style cast or type construction
double)>;