-
Notifications
You must be signed in to change notification settings - Fork 223
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
CMake can't find header-only library installed with Chocolatey #1610
Comments
Does the chocolatey install of Eigen include the CMake config file? |
FYI, I usually use submodules or FetchContent for Eigen, and include it in the SDist. It's just some header files, and that way you control the exact version. |
From the logs (which I now see I didn't link correctly in the issue 😞) it appears so:
This however sounds like the better solution! Do you have an example of using |
Description
I'm trying to build wheels on Windows for a project that uses the Eigen3 header-only library. I'm running
choco install eigen
withCIBW_BEFORE_ALL_WINDOWS
, as suggested in the documentation. From the logs, I can see that Chocolatey should already have set up all the paths correctly for CMake to find this dependency. However, the build fails because CMake can't find the package. I've tried to set theEigen3_ROOT
environment variable and/or passing-DEigen3_DIR
option throughSKBUILD_CMAKE_ARGS
but none seem to do the trick. What am I missing?Build log
https://pipelinesghubeus23.actions.githubusercontent.com/CeqyNvChuFKPSplumdvzHI0kSDdWeR7czI7LxDTAdEb8UF7BQd/_apis/pipelines/1/runs/98/signedlogcontent/5?urlExpires=2023-09-13T08%3A41%3A28.5705260Z&urlSigningMethod=HMACV1&urlSignature=ZF%2Fu8uaMCZ79U%2FgaRlU7RL6ceGolUppAv0xS7Xv2z34%3D
CI config
https://github.com/maxscheurer/cppe/actions/runs/6170004263/workflow
The text was updated successfully, but these errors were encountered: