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:
Operating System:
Compiler/Version:
CMake Version:
I try to solve the problem when do cmake and make for geant4.11.3.2, but this is what I get.
‘‘‘
[ 85%] Automatic MOC for target G4interfaces
[ 85%] Built target G4interfaces_autogen
[ 85%] Building CXX object source/CMakeFiles/G4interfaces.dir/G4interfaces_autogen/mocs_compilation.cpp.o
[ 85%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4InteractorMessenger.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4UIArrayString.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4UIcsh.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4UIterminal.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4VBasicShell.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4VInteractiveSession.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4VInteractorManager.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4VUIshell.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/core/src/G4UItcsh.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/implementation/src/G4UIExecutive.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/implementation/src/G4UIQt.cc.o
[ 86%] Building CXX object source/CMakeFiles/G4interfaces.dir/interfaces/implementation/src/G4Qt.cc.o
[ 86%] Linking CXX shared library ../BuildProducts/lib/libG4interfaces.dylib
ld: framework ‘AGL’ not found
c++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [BuildProducts/lib/libG4interfaces.dylib] Error 1
make[1]: *** [source/CMakeFiles/G4interfaces.dir/all] Error 2
make: *** [all] Error 2
sarahabdelaziz@Sarahs-MacBook-Pro build-11.3.2 %
‘‘‘
How can I solve this problem, please?