-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Title:
Build failure: Eigen/Dense not found in third_party/cubvh on WSL2
Description:
I encountered a build error while installing CuMesh on a WSL2 environment. The compiler fails to locate the Eigen headers required for cubvh.
Environment:
- OS: Windows 11
- WSL version: 2.6.3.0
- CUDA: 12.8
- Python: 3.12 (venv)
Error Log:
The build process expects Eigen headers at .../CuMesh/third_party/cubvh/third_party/eigen, but it results in the following error:
/CuMesh/third_party/cubvh/include/gpu/api_gpu.h:3:10: fatal error: Eigen/Dense: No such file or directory
3 | #include <Eigen/Dense>
| ^~~~~~~~~~~~~
Cause:
The include path for cubvh is hardcoded to third_party/cubvh/third_party/eigen, but this directory or link is missing during a standard pip install ..
Workaround / Solution:
I manually created the missing directory and linked the top-level Eigen folder:
Navigate to CuMesh/third_party/cubvh
mkdir third_party
cd third_party
ln -s ../../../ eigen
After these steps, the build completed successfully.