Post

Replies

Boosts

Views

Activity

SDK path collision
Dear expert, The version of the macOS is 11.2.3. I was running an application called ROOT from CERN from the command line, and it shows up the following warning when I source the bash script: 2021-09-12 23:42:45.936 xcodebuild[1188:32958] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x7f82d674d8d0:'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk'': SDK with name 'macosx11.1' being superseded by SDK with 'macosx11.1'. And when I try to run the executable, it shows the following error: ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! Invoking:   LC_ALL=C /Library/Developer/CommandLineTools/usr/bin/c++   -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ /.*++/p' -e '}' Results was: With exit code 0 warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' I go to the /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs and find both MacOSX11.0.sdk and MacOSX11.1.sdk exist and are linked to MacOSX.sdk. I go to the /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk and the MacOSX11.0.sdk is there. Please help me debug. Thank you.
1
0
1.3k
Sep ’21