No rule to make ...RWrap_libcpp_string_view on MacOS 10.13

Dear experts,

The latest MacOS updates broken my self-compiled ROOT6. Then I tried to switch to the latest master, but I still got problem in compilation:

> 
> [ 73%] Built target MetaCling
> [ 73%] Copying LLVM resource and header files
> [ 73%] Built target LLVMRES
> [ 73%] Built target Dictgen
> Scanning dependencies of target Cling
> Scanning dependencies of target rootcling_stage1
> [ 73%] Building CXX object core/metacling/src/CMakeFiles/Cling.dir/dummy.cxx.o
> [ 73%] Building CXX object core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/src/rootcling_stage1.cxx.o
> [ 73%] Linking CXX shared library ../../../lib/libCling.so
> [ 73%] Linking CXX executable src/rootcling_stage1
> [ 73%] Built target rootcling_stage1
> Scanning dependencies of target G__Core
> [ 73%] Built target Cling
> [ 73%] Generating G__Core.cxx, ../../lib/libCore.rootmap
> [ 73%] Built target G__Core
> make[2]: *** No rule to make target `/Users/he/software/root/core/foundation/inc/RWrap_libcpp_string_view.h', needed by `core/base/G__Core.cxx'.  Stop.
> make[1]: *** [core/base/CMakeFiles/Base.dir/all] Error 2
> make: *** [all] Error 2

It is MacOS 10.3.3, with Xcode 9.2. Could you please help?

Many thanks!

May be try to re-install from scratch … also have you done xcode-select --install ?

Yes, removing everything, and starting from scratch works.
Deleting CMakeCache.txt, build, as discussed here, didn’t help.

According to my previous experience, I have already tried, but Xcode-select was already up-to-date, no need to install.

Thank you very much!

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