-
Notifications
You must be signed in to change notification settings - Fork 135
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
Include in Catkin Library ROS #111
Comments
Hi @bostoncleek, fyi I have two related PRs for enabling shared builds and for permitting to build against system BLAS/LAPACK
At the moment the upstream maintainers of qpOASES probably still need to provide feedback, but I hope this can be useful for you. |
Hey @traversaro I checkout out #PR109 and #PR108 thank you for adding the option! I have discovered another problem (which might be realted to issue #60) is that qpOASES is causing Armadillo to segfault. I suspect this may be because of this replacement file LapackBlasReplacement.hpp for BLAS and LAPACK. However, the combination of both your PRs fixes the segfault and shared library issues. What do you think about adding the option to link both BLAS and LAPACK in cmake? |
So to have an option to link system BLAS and LAPACK and do not include https://github.com/coin-or/qpOASES/blob/326a6517da899cac9766b17ebdcf328858ec6e90/src/BLASReplacement.cpp and https://github.com/coin-or/qpOASES/blob/master/src/LAPACKReplacement.cpp ? This could make sense, but I guess also some changes in the source code may be necessary for that. |
The The "replacement" approach was chosen so that What makes the whole approach a bit fragile is that Fortran integers of the system libraries might come in different sizes (32bit, 64bit). Admittedly, we are not dealing with this issue systematically right now. The key here are the preprocessor variables |
@apotschka I saw the replacement flag in the make file. I was not able to build using the make file because the current release is missing the |
The |
Hi,
I am including qpOASES in a catkin library and receive the error described bellow.
My current environment:
I built qpOASES by running in a build directory:
When I build my catkin project (running
catkin build
) I get the following error:When I re-build qpOASES with the following the error above is resolved:
Which raises a few questions?
make_linux.mk
file where can I find instruction for building with make. When I run make inside the qpOASES directory the build fails because it fails to create/bin/qpOASES.a
.Thank you for your time.
The text was updated successfully, but these errors were encountered: