-
Notifications
You must be signed in to change notification settings - Fork 36
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
Difficulty installing roboptim-core from homebrew #100
Comments
Thanks for reporting this! The problem is here, there's actually an extra build-time dependency on texlive-core/ghostscript (or whatever their name is on homebrew) for generating the documentation. Thus, we have 2 options here:
The second option seems better, so I will give it a go and see how it goes. |
If you want to use the release homebrew formulae (and they need a version bump), for now we will need to add the LaTeX-related dependencies, but this should no longer be the case for the next releases (cf. jrl-umi3218/jrl-cmakemodules#57). If you're using the master branch, the MathJax version should be available tomorrow (it's just a matter of updating the submodule and setting |
Thanks, I'm planning on using this with the Posture Generator library. I also wouldn't mind cloning and compiling the code myself. Is there a branch that is better to use than master? |
I tried running my script again, reproduced below. However several of the dependencies still failed. # We make assumption that you have already installed Homebrew!
# If this is not the case, please look at: http://brew.sh/
# Add the repositories
brew tap homebrew/python # only for roboptim-core-python
brew tap homebrew/science # for IPOPT, CMinPack
brew tap roboptim/roboptim
# RobOptim Core
brew install --HEAD roboptim/roboptim/roboptim-core
# RobOptim Core Plugin CMinPack
brew install --HEAD roboptim/roboptim/roboptim-core-plugin-cminpack
# RobOptim Core Plugin IPOPT
brew install --HEAD roboptim/roboptim/roboptim-core-plugin-ipopt
# RobOptim Trajectory
brew install --HEAD roboptim/roboptim/roboptim-trajectory
# RobOptim Capsule
brew install --HEAD roboptim/roboptim/roboptim-capsule
# IMPORTANT: some of these repositories are not released.
# In this case, you can install from Git using:
# brew install --HEAD a_package
#
# Note that in this case, you have to install *all* packages
# from source (even roboptim-core!). For example: here is the next error on the list:
|
For the PG (cc @jorisv), the only RobOptim packages you need are |
Ok, thanks for the info. Are the 2.0 components still present in the current API or has there been a breaking change? That is, do I need to use an old version or will the current one run with it? |
The API changed quite a lot, mostly from version 2.0 to 3.0, the biggest change involves the functions and was required since we now use I don't know if @jorisv plans on updating it, but just in case: most of it can be solved with some simple regular expressions, and the details are explained here. Also, if using the master branch and the IPOPT plugin, some of the latest (not released) changes target sparse computation for increased performance: when filling the Jacobian matrix of constraints (e.g. here), In the meantime you need to use the 2.0 release (but we're back to the original problem where |
It tried installing roboptim-core from homebrew, but it failed. Here is the diagnostic info:
https://gist.github.com/466dcf1146052896ee28
which is from this command sequence you provided in the instructions:
I believe all the other ones failed too, but they probably require the core anyway.
The text was updated successfully, but these errors were encountered: