ARPA-SIMC / meteosatlib

OpenMTP/HRI/HRIT C++ access libraries, gdal drivers and other tools
GNU General Public License v2.0
8 stars 2 forks source link

Rocky 8 build failure: error: 'filesystem' is not a member of 'std' #40

Open edigiacomo opened 4 days ago

edigiacomo commented 4 days ago

See https://simc.arpae.it/moncic-ci/meteosatlib/202410181430/master/rocky8/build.log

I think this is the same issue encountered in wreport c++17, fixed in meson.build with

# std::filesystem library needs to be explicitly linked with g++ < 9.0
if cpp.find_library('stdc++fs').found()
  # without this, std::filesystem is not present for some compilers
  add_project_link_arguments(['-lstdc++fs'], language : 'cpp')
endif

But I don't know a quick fix in autotools.

spanezz commented 23 hours ago

I started a meson branch porting meteosatlib to meson.

Code builds and tests pass. Tomorrow I'll try to look into installation and packaging