Skip to content

cannot compile for version of 6.2.2601/2602 without Python option on #240

@frankldm

Description

@frankldm

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions