Skip to content

Update IGL and EIGEN libs - #658

Open
joaohf wants to merge 1 commit into
dgud:masterfrom
joaohf:update-IGL-EIGEN-deps
Open

joaohf wants to merge 1 commit into
dgud:masterfrom
joaohf:update-IGL-EIGEN-deps

Conversation

@joaohf

@joaohf joaohf commented Nov 11, 2026

Copy link
Copy Markdown

Hello,

When building wings with GCC 16.2, I got the following build issue. I just want to check if they make sense to you? I did not try to execute wings yet (I'll report it soon). However, updating libs and also the eigen_assert macro solved the situation.

aarch64-poky-linux-gcc  -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/wo
rk/cortexa57-poky-linux/wings/2.4.1+git/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/sources/wings=/usr/src/debug/wings/2.4.1+git
  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/sources/wings=/usr/src/debug/wings/2.4.1+git  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/c
ortexa57-poky-linux/wings/2.4.1+git/recipe-sysroot=  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -Wno-deprecated-
declarations -Wno-unknown-pragmas -Wno-switch  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/sources/wings=/usr/src/debug/wings/2.4.1+git  -ffile-
prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/sources/wings=/usr/src/debug/wings/2.4.1+git  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-
poky-linux/wings/2.4.1+git/recipe-sysroot=  -ffile-prefix-map=/data-work/yocto/builds/bitbake-builds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/recipe-sysroot-native=  -pipe -g -O3 -fPIC  -I"/data-work/yocto/builds/bitbake-buil
ds/wings/build/tmp/work/cortexa57-poky-linux/wings/2.4.1+git/recipe-sysroot-native/usr/lib/erlang/usr/include" -I../_deps/eigen -I../_deps/libigl/include  -o../priv/libigl.so libigl.cpp -shared -lstdc++
In file included from ../_deps/libigl/include/igl/boundary_facets.h:54,
                 from ../_deps/libigl/include/igl/vector_area_matrix.cpp:9,
                 from ../_deps/libigl/include/igl/vector_area_matrix.h:38,
                 from ../_deps/libigl/include/igl/lscm.cpp:10,
                 from ../_deps/libigl/include/igl/lscm.h:46,
                 from libigl.cpp:42:
../_deps/libigl/include/igl/boundary_facets.cpp: In function 'void igl::boundary_facets(const Eigen::MatrixBase<Derived>&, Eigen::PlainObjectBase<DerivedF>&, Eigen::PlainObjectBase<DerivedJ>&, Eigen::PlainObjectBase<DerivedK>&)':
../_deps/libigl/include/igl/boundary_facets.cpp:86:30: error: return type of 'const Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> > >::RCmpEQReturnType Eigen::operator==(const ArrayBase<ArrayWrapper<Matrix<int, -1, 1> > >::Sc
alar&, const ArrayWrapper<Matrix<int, -1, 1> >&)' is not 'bool' [-Wtemplate-body]
   86 |   const int ones = (C.array()==1).count();
      |                     ~~~~~~~~~^~~
../_deps/libigl/include/igl/boundary_facets.cpp:86:30: note: used as rewritten candidate for comparison of 'Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >' and 'int'
In file included from ../_deps/eigen/Eigen/SparseCore:47,
                 from ../_deps/eigen/Eigen/Sparse:26,
                 from ../_deps/libigl/include/igl/lscm.h:14:

@dgud

dgud commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Thanks, the reason for my libigl was a patch for windows a long time ago, will see if it works, but then maybe we should hardcode
the igl version as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants