➜ B1-build-qt make -j1 VERBOSE=1 /Applications/CMake.app/Contents/bin/cmake -S/Users/aneesha/geant4/g4testexamples/B1 -B/Users/aneesha/geant4/g4testexamples/B1-build-qt --check-build-system CMakeFiles/Makefile.cmake 0 /Applications/CMake.app/Contents/bin/cmake -E cmake_progress_start /Users/aneesha/geant4/g4testexamples/B1-build-qt/CMakeFiles /Users/aneesha/geant4/g4testexamples/B1-build-qt//CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/exampleB1.dir/build.make CMakeFiles/exampleB1.dir/depend cd /Users/aneesha/geant4/g4testexamples/B1-build-qt && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/aneesha/geant4/g4testexamples/B1 /Users/aneesha/geant4/g4testexamples/B1 /Users/aneesha/geant4/g4testexamples/B1-build-qt /Users/aneesha/geant4/g4testexamples/B1-build-qt /Users/aneesha/geant4/g4testexamples/B1-build-qt/CMakeFiles/exampleB1.dir/DependInfo.cmake "--color=" Dependencies file "CMakeFiles/exampleB1.dir/exampleB1.cc.o.d" is newer than depends file "/Users/aneesha/geant4/g4testexamples/B1-build-qt/CMakeFiles/exampleB1.dir/compiler_depend.internal". Consolidate compiler generated dependencies of target exampleB1 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/exampleB1.dir/build.make CMakeFiles/exampleB1.dir/build [ 12%] Building CXX object CMakeFiles/exampleB1.dir/exampleB1.cc.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/Users/aneesha/geant4/g4testexamples/B1/include -isystem /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks -iframework /usr/local/opt/qt@5/lib -isystem /usr/local/opt/qt@5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt@5/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt@5/./mkspecs/macx-clang -isystem /usr/local/opt/qt@5/lib/QtOpenGL.framework/Headers -isystem /usr/local/opt/qt@5/lib/QtWidgets.framework/Headers -isystem /usr/local/include -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -fPIC -MD -MT CMakeFiles/exampleB1.dir/exampleB1.cc.o -MF CMakeFiles/exampleB1.dir/exampleB1.cc.o.d -o CMakeFiles/exampleB1.dir/exampleB1.cc.o -c /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:240:1: error: use of undeclared identifier 'QT_VERSION_MAJOR' Q_DECLARE_MOVABLE_CONTAINER(QMap); ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:42: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:240:1: error: use of undeclared identifier 'QT_VERSION_MINOR' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:60: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:240:1: error: use of undeclared identifier 'QT_VERSION_PATCH' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:78: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:241:1: error: use of undeclared identifier 'QT_VERSION_MAJOR' Q_DECLARE_MOVABLE_CONTAINER(QMultiMap); ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:42: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:241:1: error: use of undeclared identifier 'QT_VERSION_MINOR' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:60: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:241:1: error: use of undeclared identifier 'QT_VERSION_PATCH' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:78: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:242:1: error: use of undeclared identifier 'QT_VERSION_MAJOR' Q_DECLARE_MOVABLE_CONTAINER(QHash); ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:42: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:242:1: error: use of undeclared identifier 'QT_VERSION_MINOR' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:60: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:242:1: error: use of undeclared identifier 'QT_VERSION_PATCH' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:78: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:243:1: error: use of undeclared identifier 'QT_VERSION_MAJOR' Q_DECLARE_MOVABLE_CONTAINER(QMultiHash); ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:42: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:243:1: error: use of undeclared identifier 'QT_VERSION_MINOR' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:60: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1301: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:243:1: error: use of undeclared identifier 'QT_VERSION_PATCH' /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qtypeinfo.h:232:21: note: expanded from macro 'Q_DECLARE_MOVABLE_CONTAINER' isStatic = (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)), \ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:57:78: note: expanded from macro 'QT_VERSION' #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) ^ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1308: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobalstatic.h:60:6: error: division by zero in preprocessor expression #if !QT_CONFIG(thread) || defined(Q_COMPILER_THREADSAFE_STATICS) ^~~~~~~~~~~~~~~~~ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:86:30: note: expanded from macro 'QT_CONFIG' #define QT_CONFIG(feature) (1/QT_FEATURE_##feature == 1) ~^~~~~~~~~~~~~~~~~~~~~ In file included from /Users/aneesha/geant4/g4testexamples/B1/exampleB1.cc:38: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.hh:141: In file included from /Users/aneesha/geant4/geant4-v11.2.0-install-qt/include/Geant4/G4VisExecutive.icc:142: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QtGlobal:1: In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:1308: /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobalstatic.h:135:45: error: no member named 'loadRelaxed' in 'QBasicAtomicInt' bool isDestroyed() const { return guard.loadRelaxed() <= QtGlobalStatic::Destroyed; } ~~~~~ ^ /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qglobalstatic.h:136:40: error: no member named 'loadRelaxed' in 'QBasicAtomicInt' bool exists() const { return guard.loadRelaxed() == QtGlobalStatic::Initialized; } ~~~~~ ^ 15 errors generated. make[2]: *** [CMakeFiles/exampleB1.dir/exampleB1.cc.o] Error 1 make[1]: *** [CMakeFiles/exampleB1.dir/all] Error 2 make: *** [all] Error 2