Importing std::filesystem with Cling

__
ROOT Version: 6.25/01
Platform: Ubuntu Linux 20.04 LTS
Compiler: Cling
__

Hi there,

I was wondering if anyone had found a solution or work-around to the problem previously reported: Cannot import <filesystem> with runtime modules · Issue #9670 · root-project/root · GitHub. When trying to import std::filesystem and run a script interactively with Cling, I too am seeing the error:

module ‘std.codecvt’ is incompatible with feature header_existence module “codecvt”

I have compiled ROOT with C++17 support. The same code compiles correctly with GCC, but I much prefer to run with Cling so that I can interact with plots dynamically, rather than having to recompile every time I wish to modify a plot.

Thanks for your help,

Joseph

I think @vvassilev can help.

Ping @vvassilev - any recommendation what we can do here?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.