![]() Jamess-MacBook-Pro:B1-build jamesbowen$ cmake -DGeant4_DIR=/Users/jamesbowen/geant4-v11.0.0-install/lib64/Geant4-geant4-v11.0.0 /Users/jamesbowen/B1 Jamess-MacBook-Pro:~ jamesbowen$ cd B1-build/ Jamess-MacBook-Pro:~ jamesbowen$ mkdir B1-build Jamess-MacBook-Pro:~ jamesbowen$ cp -r /Users/jamesbowen/geant4-v11.0.0/examples/basic/B1. Ĭp: /Users/jamesbowen/geant4-v11.0.9/examples/basic/B1: No such file or directory Jamess-MacBook-Pro:~ jamesbowen$ cp -r /Users/jamesbowen/geant4-v11.0.9/examples/basic/B1. I also ran the command “make VERBOSE=1” afterword. The command I am giving is now “cmake -DGeant4_DIR=/Users/jamesbowen/geant4-v11.0.0-install/lib64/Geant4-geant4-v11.0.0 /Users/jamesbowen/B1” I also deleted and re-copied and re-made my B1 and B1-build sub-directories in my home directory. I made some corrections so that it refers to the actual directory. ![]() Library/Developer/CommandLineTools/usr/bin/c++ -DG4INTY_USE_QT -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -I/Users/jamesbowen/B1/include -isystem /usr/local/include/Geant4 -isystem /usr/local/opt/expat/include -iframework /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/amework/Headers -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/amework/Headers -isystem /usr/local/opt/qt/lib/amework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/amework/Headers -isystem /usr/local/opt/qt/lib/amework/Headers -isystem /usr/local/opt/qt/lib/amework/Headers -isystem /usr/local/include -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-arguments -DGL_SILENCE_DEPRECATION -stdlib=libc++ -pthread -ftls-model=initial-exec -std=c++11 -DNDEBUG -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -fPIC -std=gnu++11 -MD -MT CMakeFiles/exampleB1.dir/.o -MF CMakeFiles/exampleB1.dir/.o.d -o CMakeFiles/exampleB1.dir/.o -c /Users/jamesbowen/B1/ Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/exampleB1.dir/build.make CMakeFiles/exampleB1.dir/build Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/exampleB1.dir/build.make CMakeFiles/exampleB1.dir/dependĬd /Users/jamesbowen/B1-build & /usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_depends “Unix Makefiles” /Users/jamesbowen/B1 /Users/jamesbowen/B1 /Users/jamesbowen/B1-build /Users/jamesbowen/B1-build /Users/jamesbowen/B1-build/CMakeFiles/exampleB1.dir/DependInfo.cmake -color= Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/Makefile2 all usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_progress_start /Users/jamesbowen/B1-build/CMakeFiles /Users/jamesbowen/B1-build//CMakeFiles/progress.marks usr/local/Cellar/cmake/3.22.1/bin/cmake -S/Users/jamesbowen/B1 -B/Users/jamesbowen/B1-build -check-build-system CMakeFiles/Makefile.cmake 0 Jamess-MacBook-Pro:B1-build jamesbowen$ make VERBOSE=1 When I run “make VERBOSE=1”, this is what happens: I am running the latest version available, GEANT4 11.0, which was released last month. I am apparently missing the file G4RunManagerFactory.hh in some library. Building CXX object CMakeFiles/exampleB1.dir/src/.o Users/jamesbowen/B1/:33:10: fatal error: ‘G4RunManagerFactory.hh’ ![]() Building CXX object CMakeFiles/exampleB1.dir/.o Jamess-MacBook-Pro:B1-build jamesbowen$ make -j4 – Build files have been written to: /Users/jamesbowen/B1-build – Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/amework – Found XercesC: /usr/local/lib/libxerces-c.dylib (found suitable version “3.2.3”, minimum required is “3.2.3”) – Found EXPAT: /usr/local/opt/expat/lib/libexpat.dylib (found suitable version “2.2.10”, minimum required is “2.2.9”) – Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped ![]() – Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped – The CXX compiler identification is AppleClang 12.0032 – The C compiler identification is AppleClang 12.0032 Jamess-MacBook-Pro:B1-build jamesbowen$ cmake -DGeant4_DIR=/Users/jamesbowen/geant4-install/lib64/Geant4-G4VERSION /Users/jamesbowen/B1 However, when I tried to run basic example B1 to test the installation, I got the following error: The installation appeared to be successful.
0 Comments
Leave a Reply. |