Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
Geant4 Version: 11.2.2
Operating System: MacOS Sequia 15.1
Compiler/Version: Apple clang version 16.0.0 (clang-1600.0.26.3)
CMake Version: cmake version 3.30.5
CMake Error in CMakeLists.txt:
Imported target “Geant4::G4Tree” includes non-existent path
"/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
-
The path was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and references files it does not
provide.
CMake Error in CMakeLists.txt:
Imported target “Geant4::G4Tree” includes non-existent path
"/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
-
The path was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and references files it does not
provide.
– Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
Last login: Tue Dec 3 23:05:50 on ttys001
kavyawadhwa@KAVYAs-MacBook-Air build % cmake ..
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found EXPAT: /Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/lib/libexpat.tbd (Required is at least version "2.6.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found XercesC: /opt/homebrew/lib/libxerces-c.dylib (found suitable version "3.3.0", minimum required is "3.3.0")
-- Found X11: /usr/X11R6/include
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/OpenGL.framework
-- Found Geant4: /usr/local/Geant4/lib/cmake/Geant4/Geant4Config.cmake (found version "11.2.2")
-- Configuring done (2.3s)
CMake Error in CMakeLists.txt:
Imported target "Geant4::G4Tree" includes non-existent path
"/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in CMakeLists.txt:
Imported target "Geant4::G4Tree" includes non-existent path
"/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
kavyawadhwa@KAVYAs-MacBook-Air build %