-
Notifications
You must be signed in to change notification settings - Fork 359
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
missing .so file #3733
Comments
Regarding the missing Regarding the missing header you can make it work specifying the headers file shipped with
NB1: Also installing ipopt on your system will likely solve that, in that case you will have the header the compiler is looking for on system default paths. NB2: If you are code-generating the call to ipopt nlpsol plugin you may also need:
|
It seems the opts you provided in the code block have at least compiled the solver for me, will have to wait till the evening till I get around to testing to verify this is a fix on my system. Seems likely though. Re: installing ipopt on my system. Pretty sure it is installed already, but in any case trying to make a package with minimal dependencies for ease of distribution, so trying to avoid manual installs to the extent possible. Thanks for the help! |
Now getting around to testing more thoroughly...it seems there is a problem constructing the Ipopt problem in the compiled code:
|
I get the error if I leave out the option entry about linker flag, in that way when casadi is trying to compile the source code you provided
NB: If you compiled casadi from source and your iptop library is installed in a non-standard path you need to add that in order for the linker to find it |
I also needed to add the nlpsol linked library:
Thanks for giving me guidance! |
When attempting to use the Importer class from Python by, e.g.
I am getting the error:
Checking my site-packages installation of casadi, and sure enough, there is no libcasadi_importer_clang.so
There is the "shell" version, but then there are missing dependencies...that can't seem to find <coin-or/IpStdCInterface.h>
The text was updated successfully, but these errors were encountered: