Comments (8)
Hi @Tengyun-Mo !
From the error messages it seems that you are on Windows, and on Windows if you do not specify the cmake generator the default generator is the Visual Studio one. To build osqp-eigen
in that case, then you need to open the generated project with Visual Studio, or just execute cmake --build . --config Release
, instead of executing make. For more on using CMake with Visual Studio, please read https://cgold.readthedocs.io/en/latest/first-step.html and in particular section 2.6.1 and 2.6.3 .
However, from your log it seems that you are using Visual Studio 2013, and I am not sure if osqp-eigen compiles fine on Visual Studio 2013. We are actively testing and using osqp-eigen with Visual Studio 2019, so it could make sense to try to compile it with Visual Studio 2019.
from osqp-eigen.
Unfortunately that output does not tell much. My guess is that cmake
is able to find ospq.h
, but not the library. Did you modify some paths manually?
Also, I would ask tou to open a new issue since this does not seem to be related to the OP, and this is already closed.
from osqp-eigen.
In the new issue that @S-Dafarra suggested to open, please provide the exact commands that you used to install osqp, thanks.
from osqp-eigen.
Also, if you are using "Qt Creator" as IDE, make sure to select the target ALL_BUILD
instead of all
, see https://bugreports.qt.io/browse/QTCREATORBUG-24861?page=com.googlecode.jira-suite-utilities%3Atransitions-summary-tabpanel
from osqp-eigen.
Thanks for your response.I have fixed this problem by steps as follows:
- git clone https://github.com/robotology/osqp-eigen.git
- cd osqp-eigen
- mkdir build && cd build
- cmake -G "MinGW Makefiles" ..
- make --build .
- cmake --build . --target install
from osqp-eigen.
I tried building the library on Windows. Used 'cmake --build . --config Release' instead of make. Got the following error. How do I solve this.
from osqp-eigen.
Hi @dhruvthanki there seems to be a linking problem with osqp. Did osqp
compile correctly? What is the cmake
output?
from osqp-eigen.
I am able to include osqp.h in my project. but it path is: "C:\Program Files (x86)\osqp", not x65. Picture below is osqp-eigen "cmake ../" result:
from osqp-eigen.
Related Issues (20)
- ERROR in LDL_factor: Error in KKT matrix LDL factorization when computing the nonzero elements. The problem seems to be non-convex HOT 2
- problems compiling this library HOT 4
- Assert statement in SparseMatrixHelper.tpp HOT 2
- The createOsqpSparseMatrix does not correctly handle empty sparse matrix. HOT 5
- Compile error on Windows with vs2022 and vs2019 when compiling against osqp master branch (future osqp v1) HOT 8
- The possibility to handle huge matrix equation? HOT 4
- Using OSQP-Eigen with OSQP CUDA HOT 2
- have a solution for osqp 0.4.0? HOT 6
- error while loading shared libraries: libosqp.so HOT 3
- undefined reference to `OsqpEigen::Solver::Solver()',undefined reference to `OsqpEigen::Solver::settings() const' HOT 1
- I'm using osqp-eigen v0.7.0, wondering if Hessian Matrix is supporting only symmetric matrix, rather than upper triangular matrix. HOT 2
- Support for solution derivative functions HOT 1
- ..... HOT 1
- trouble building the library HOT 4
- different result in c++ and matlab HOT 3
- Get Unstable Answer When Solve a simple QP using Update Matrix Functions HOT 10
- When calling the setHessianMatrix and updateHessianMatrix functions, the compilation error HOT 4
- auxil.h no such file or directory HOT 4
- macos-latest CI float=ON failing since April 23
- Problems installing osqp-eigen HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osqp-eigen.