-
Notifications
You must be signed in to change notification settings - Fork 392
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
Compatibility with older Boost versions on Windows #2152
Comments
How do you install Pinocchio? |
I've installed Pinocchio using Conda Forge. On building the first example in the docs (using msvc), it throws the following error:
My CMakeLists.txt file for the test program is:
I assumed that Pinocchio requires a certain version of Boost since it seems to use some of its components such as filesystem and system. |
If you installed Pinocchio via conda it installed a version of Boost from conda also. What's probably happening there is that you are (or your CMake is) trying to build against your local boost in Program Files instead of the one that Pinocchio came (and was built and dynamically linked) with. CMake saw that and was not happy, hence your error. If you want to use your local version of Boost, you ought to build Pinocchio (and its dependencies eigenpy and hppfcl) locally with that version of Boost so as to have consistent versions and linked symbols. Another (less painful) option is to build against conda's Boost and properly tell CMake to look for Boost inside your conda environment. For this you should set the CMAKE_PREFIX_PATH environment variable to your conda environment path before the first call to CMake, and do so for every project you want to build against the conda-installed Pinocchio. You can look up more details about this environment variable and its effects in CMake's user manual |
I'll close this as it's not related to Pinocchio itself |
An existing project of mine utilizes Boost 1.79, while Pinocchio requires a minimum version of 1.82 to build successfully. Integrating Pinocchio with my project is crucial, but the Boost versions are conflicting!
Is there a documented or supported way to use Pinocchio on Windows with Boost 1.79 or a similar older version? If not, are there any plans to add such compatibility in future releases?
The text was updated successfully, but these errors were encountered: