If I want to compile osqp,eigen and osqp-eigen with visual studio 2015, which version of the latter three should I use, and which cmake version? #655
Replies: 8 comments 5 replies
-
Hello @DRETQ, I am one of the osqp-eigen mantainers. I am not sure has exactly the answer to your question. However, looking a bit at the CI history, it seems that the latest version of osqp-eigen that run under VS2015 in CI was osqp-eigen v0.5.2, see https://github.com/robotology/osqp-eigen/blob/v0.5.2/appveyor.yml#L9 . In that CI, we were compiling with Eigen Having said that, it is still possible you find some unexpected error when using such old and unsupported compiler. |
Beta Was this translation helpful? Give feedback.
-
@traversaro Thanks for your reply, i'll try to see if it works with these appropriate versions. The purpose of using VS 2015 is mainly for compatibility with matlab 2015. |
Beta Was this translation helpful? Give feedback.
-
@traversaro I made an attempt and after changing versions, I did have problems compiling in vs2015 despite the installation and configuration steps being the same as the original. |
Beta Was this translation helpful? Give feedback.
-
@traversaro Thanks for your reply, I'm not sure if it's a problem with vs2015 or osqp 0.6.0,eigen 3.3.9,osqp-eigen 0.5.2, I found that the name of the static link library in the old version of osqp-eigen (OsqpEigen) is different from the one in the newer version (OsqpEigend) and that the selection of the Cmake version is the same when the vs2015 compilation to choose x64. |
Beta Was this translation helpful? Give feedback.
-
@traversaro Do you know where to download the original osqp0.6.0, I'm not sure I've got it right! |
Beta Was this translation helpful? Give feedback.
-
@traversaro Hello Professor, I have a question, according to the official website to install osqp-eigen, if I don't use mingw compile but use visual studio 14 2015, I change the command is like this, I choose the folder to put the source code D:\Qt\osqp-eigen-master, please ask this modification is correct, the last two steps are necessary ( make |
Beta Was this translation helpful? Give feedback.
-
@traversaro Thanks, I've solved the problem. |
Beta Was this translation helpful? Give feedback.
-
@traversaro I would like to ask if you have ever done calling C code containing osqp, eigen and osqp-eigen in a lower version of matlab/simulink, such as 2015b, using the s function builder module, such as the official example file MPCExample? |
Beta Was this translation helpful? Give feedback.
-
If I want to compile osqp,eigen and osqp-eigen with visual studio 2015, which version of the latter three should I use, and which cmake version?
Beta Was this translation helpful? Give feedback.
All reactions