-
Notifications
You must be signed in to change notification settings - Fork 117
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
Problems writing MPC programs using eigen,osqp,osqp-eigen in VS2015 #169
Comments
Hi @DRETQ, can you describe:
|
@S-Dafarra The version of osqp-eigen is 0.8.1, the version of osqp is 0.6.3,I used the debug x86 local windows debugger command and the compiler is cmake. |
Given the error message, the problem seems similar to #162 (comment)
Also, can you report the One possible attempt is to try using the One final remark, please avoid pasting screenshots of errors, but rather copy and paste them. This would allow others to find the same solution by searching for the same error online, and would allow me to translate errors more easily. |
CMakeCache(osqp).txt |
Could you do
and post the output?
You can do
and then compile again |
How did you clone (download) the repo? |
@S-Dafarra Do you mean how do I download osqp,osqp-eigen, I run the command from cmd to download online |
Just to understand, which command? From #169 (comment) it seems that you don't have |
@S-Dafarra Commands used when installing osqp is :git clone --recursive -b release-0.6.3 https://github.com/oxfordcontrol/osqp.git. Configuring eigen,osqp,osqp-eigen on vs2015 should be successful because the official example file MPCExample given is able to run successfully. |
Ok, then it seems you have |
@S-Dafarra You mean you want me to use git clone instead of git. Here are the results. |
@S-Dafarra I found inconsistencies in reporting errors on vs2015 and vs2022,the osqp,eigen,osqp-eigen configured in it are the same. |
No, I meant to run the commands I posted above in a terminal where git can be used |
@S-Dafarra Where can I run git if cmd doesn't work? |
Apologies, I misunderstood the error message of #169 (comment) The problem was not that
? |
Where i have cloned osqp-eigen is E:\LibraryVS15\osqp-eigen-master,isn't it? I don't know what you mean. |
Yes, please navigate to that folder and from within that folder execute the commands
|
@S-Dafarra Isn't that what I did before, with the same output as above? |
No, if you look at #169 (comment) you can see that it remained in the folder |
In command prompt
the current working directory will remain in To go to
See https://stackoverflow.com/questions/17753986/how-to-change-directory-using-windows-command-line or https://stackoverflow.com/questions/11065421/command-prompt-wont-change-directory-to-another-drive for more info. |
@S-Dafarra What you mean is that I need to do git log -1, git checkout master, and git pull in osqp and osqp-eigen folders respectively, not in windows system32. |
@traversaro Thanks for the reply, I've remembered |
Where is the source code of |
Neither |
@S-Dafarra When installing osqp-eigen, I didn't choose to use the git hub command directly with the osqp install, but instead downloaded the optional installer from the web. |
Ok then use |
@S-Dafarra This is a problem with debug x86 when debugging, it doesn't seem to be a problem if you use debug x64 |
Ah good catch. To be honest I don't think we test in CI x86 builds, let alone VS2015 |
@S-Dafarra Yes, I've asked before and no one has used it on VS2015. And have a new question, I have defined the sparse hessian matrix as a square matrix in my program, why does the output say this: |
Hello @DRETQ, please:
Thanks! |
Can anyone tell me what the problem is?
The text was updated successfully, but these errors were encountered: