Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edigiacomo opened this issue Oct 18, 2024 · 2 comments
Open
Assignees

Comments

@edigiacomo
Copy link
Member

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
Copy link
Contributor

spanezz commented Oct 21, 2024

I started a meson branch porting meteosatlib to meson.

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

@spanezz
Copy link
Contributor

spanezz commented Oct 25, 2024

I opened #41 with meteosatlib build system ported to Meson

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

No branches or pull requests

2 participants