discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

trying to build in windows on github

V
vulcan_@mac.com
Sat, Sep 20, 2025 9:48 PM

I am trying to use the GitHub workflow to build my bug fix into a Windows executable, but the build keeps failing on not finding the Eigen library CMake files.

I am using a tip i found by googling to check Eigen3 out of its repo on GitLab using this in the workflow YAML file

- name: checkout Eigen using shell
run: |
git config --global url.https://github.com/.insteadOf git://github.com/
git clone https://gitlab.com/libeigen/eigen.git

but the build is not finding Eigen’s CMake files .. this is all in my own branch using the workflow for

cmake-single-platform

I have been comparing my YAML to the windows.yml that is building OpenSCAD for Windows in the Master scad and i do not see any reference to Eigen 3 .. and it is not a submodule so .. how does Eigen get into the build?

I am trying to use the GitHub workflow to build my bug fix into a Windows executable, but the build keeps failing on not finding the Eigen library CMake files. I am using a tip i found by googling to check Eigen3 out of its repo on GitLab using this in the workflow YAML file `- name: checkout Eigen using shell`\ ` run: |`\ ` git config --global url.https://github.com/.insteadOf git://github.com/`\ ` git clone https://gitlab.com/libeigen/eigen.git` but the build is not finding Eigen’s CMake files .. this is all in my own branch using the workflow for cmake-single-platform I have been comparing my YAML to the windows.yml that is building OpenSCAD for Windows in the Master scad and i do not see any reference to Eigen 3 .. and it is not a submodule so .. how does Eigen get into the build?
MK
Marius Kintel
Sun, Sep 21, 2025 5:45 PM

The key part of windows.yml is: ./scripts/msys2-install-dependencies.sh

This installs all dependencies, including eigen3.
For the time being, Windows-native development is only feasible in an MSYS2 environment, so make sure that’s what you’re using.

-Marius

The key part of windows.yml is: ./scripts/msys2-install-dependencies.sh This installs all dependencies, including eigen3. For the time being, Windows-native development is only feasible in an MSYS2 environment, so make sure that’s what you’re using. -Marius
MK
Marius Kintel
Sun, Sep 21, 2025 11:59 PM

I just encountered the same issue. The issue seems to be that msys2 updated Eigen3 from version 3.4.0 to 5.0.0 a day or so ago, and our build system isn’t able to look for both V3 and V5. I’m looking into it..

-Marius

On Sep 20, 2025, at 17:48, vulcan_--- via Discuss discuss@lists.openscad.org wrote:

I am trying to use the GitHub workflow to build my bug fix into a Windows executable, but the build keeps failing on not finding the Eigen library CMake files.

I am using a tip i found by googling to check Eigen3 out of its repo on GitLab using this in the workflow YAML file

but the build is not finding Eigen’s CMake files .. this is all in my own branch using the workflow for

cmake-single-platform

I have been comparing my YAML to the windows.yml that is building OpenSCAD for Windows in the Master scad and i do not see any reference to Eigen 3 .. and it is not a submodule so .. how does Eigen get into the build?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I just encountered the same issue. The issue seems to be that msys2 updated Eigen3 from version 3.4.0 to 5.0.0 a day or so ago, and our build system isn’t able to look for both V3 and V5. I’m looking into it.. -Marius > On Sep 20, 2025, at 17:48, vulcan_--- via Discuss <discuss@lists.openscad.org> wrote: > > I am trying to use the GitHub workflow to build my bug fix into a Windows executable, but the build keeps failing on not finding the Eigen library CMake files. > > I am using a tip i found by googling to check Eigen3 out of its repo on GitLab using this in the workflow YAML file > > - name: checkout Eigen using shell > run: | > git config --global url.https://github.com/.insteadOf git://github.com/ > git clone https://gitlab.com/libeigen/eigen.git > > but the build is not finding Eigen’s CMake files .. this is all in my own branch using the workflow for > > cmake-single-platform > > I have been comparing my YAML to the windows.yml that is building OpenSCAD for Windows in the Master scad and i do not see any reference to Eigen 3 .. and it is not a submodule so .. how does Eigen get into the build? > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org