Installing issue about MacOSX module map

Hello,

I downloaded the latest source file from the git repository and tried to built the v6.34 after updating the MacOsX to 15.4.

But at the step of generating G__Core.cxx, ../lib/Core.pcm, the following error message appeared repeatedly:

fatal error: module map file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/std_darwin.MacOSX14.2.sdk.modulemap' not found

With the following error message:

<<< cling interactive line includer >>>: fatal error: could not build module '_Builtin_intrinsics'
Error: Module '_Builtin_intrinsics' failed to load.
Error: Error loading the default rootcling header files.
make[2]: *** [core/G__Core.cxx] Error 1
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2

How can I solve this problem?

Thank you.
Youngju


ROOT Version: v6_34_08
Platform: MacOsX sequoia 15.4
Compiler: Xcode 16.3


Hello @Youngju,

is this a fresh build or an incremental one? A PR was just merged this morning that updates the format of the PCM modules, so it is expected that incremental builds break. If this is your case, removing the PCMs with rm <root_build_dir>/lib/*.pcm should solve the issue.

EDIT: actually that is probably not the problem, since it should only affect the master branch. In any case I would try a clean build as the first step, if it is not already one.

Hello,

Yes, it was the latest one.

I don’t know the reason, but the installation was done after rebooting the laptop.

Anyway, thank you for the fast reply.

Cheers,
Youngju

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