Skip to content

Build failure: Eigen/Dense not found in third_party/cubvh on WSL2 #1

@sekiri

Description

@sekiri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions