-
Notifications
You must be signed in to change notification settings - Fork 45
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
[drake_cmake_installed] CMake error when building in release mode #216
Comments
Adding these lines from pybind11 to |
Howdy Pang! I am $ cd drake-external-examples
$ git log -n 1 --oneline --no-decorate
94ae27b Bump CI from Big Sur to Monterey as supported minimium (#245)
$ mkdir drake_cmake_installed-build && cd drake_cmake_installed-build
$ cmake -DCMAKE_PREFIX_PATH=~/.local/opt/drake/v1.10.0 ../drake_cmake_installed -DCMAKE_BUILD_TYPE=Release
# Fails
EDIT: Updated per Pang's comment - oops! |
I'm able to reproduce the error in a docker container: The cause is the Thanks for looking into this! |
Filed #247, sorry for the delay! I just followed your suggested solution which worked out of the box. I can't think of anything better! |
I've been structuring my research projects using the
drake_cmake_installed
pattern. About 1 and a half years ago, I started getting this error when I was running cmake in release mode:It seems that
pybind11_strip
should be part of the pybind cmake scripts, but it's not installed in the pybind bundled with drake? Our workaround has been simply commenting out the line in cmake that callspybind11_strip
... which is not ideal, and could be the reason why we're getting "weak symbol" warnings after the bindings are built.@RussTedrake
The text was updated successfully, but these errors were encountered: