Replies: 3 comments
-
Does the chocolatey install of Eigen include the CMake config file? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions