I am trying to build netgen in both windows and Linux platform, and the build script in windows is like this:
- netgen 6.2.2601 && 6.2.2602
- windows (win11) && Ubuntu (24)
- cmake 15 & gcc 14
-DCMAKE_BUILD_TYPE=Release ^
-DUSE_SUPERBUILD=ON ^
-DBUILD_ZLIB=ON ^
-DZLIB_USE_STATIC_LIBS=ON ^
-DUSE_GUI=OFF ^
-DUSE_PYTHON=OFF ^
-DUSE_OCC=OFF ^
-DUSE_STLGEOM=ON ^
-DUSE_CSG=ON ^
And both see the a same error at the Linux build with the same configuration.
/libsrc/core/flags.cpp
void Flags :: DoArchive(Archive & archive)
{
archive & strflags & numflags & defflags & numlistflags & strlistflags & flaglistflags & anyflags;
}
the error message is
error C2678: binary '&': no operator found which takes a left-hand operand of type 'ngcore::Archive'
I am trying to build netgen in both windows and Linux platform, and the build script in windows is like this:
And both see the a same error at the Linux build with the same configuration.
/libsrc/core/flags.cppthe error message is
error C2678: binary '&': no operator found which takes a left-hand operand of type 'ngcore::Archive'