Objc: Class QMacAutoReleasePoolTracker is implemented in both /usr/local/opt/qt/lib/amework/Versions/5/QtCore (0x10389d978) and (0x1023b9b00). Note: This will be an error in the future. Ld: warning: URGENT: building for OSX, but linking against dylib (/System/Library/Frameworks//amework/OpenGL) built for (unknown). Building CXX object CMakeFiles/exampleB1.dir/src/.o Building CXX object CMakeFiles/exampleB1.dir/.o Mansis-MacBook-Air:build mansisaxena$ make – Build files have been written to: /Users/mansisaxena/geant4_10.04/geant4.10.04-install/share/Geant4-10.4.3/examples/basic/B1example/build – Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped – Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped – The CXX compiler identification is AppleClang 9.039 – The C compiler identification is AppleClang 9.039 Update the VERSION argument value or use a … suffix to tellĬMake that the project does not need compatibility with older versions. Mansis-MacBook-Air:build mansisaxena$ cmake …ĬMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):Ĭompatibility with CMake < 2.8.12 will be removed from a future version of Mansis-MacBook-Air:B1example mansisaxena$ cd build/ Mansis-MacBook-Air:B1example mansisaxena$ mkdir build Next, I am trying to run the example given in /basic folder. Using this, I did a successful build of Geant4. To have the executable - will it be the same path - export PATH="/usr/local/Cellar/qt/5.14.0/lib/cmake:$PATH" ? Ld: warning: URGENT: building for OSX, but linking against dylib (/usr/lib/libSystem.dylib) built for (unknown). Ld: warning: URGENT: building for OSX, but linking against dylib (/usr/lib/libc++.dylib) built for (unknown). Linking CXX shared library …/…/BuildProducts/lib/libG4physicslists.dylib Building CXX object source/physics_lists/CMakeFiles/G4physicslists.dir/util/src/.o Building CXX object source/physics_lists/CMakeFiles/G4physicslists.dir/lists/src/.o In file included from fatal error: ‘QtCore/qobject_impl.h’ file not found In file included from /Users/mansisaxena/geant4_10.04/geant4.10.04.p03/source/visualization/OpenGL/include/G4OpenGLImmediateQtViewer.hh:39: In file included from /Users/mansisaxena/geant4_10.04/geant4.10.04.p03/source/visualization/OpenGL/src/:39: Inline const Class#Private* d_func() const usr/local/lib/amework/Headers/qglobal.h:2584:113: note: expanded from macro ‘Q_DECLARE_PRIVATE’ usr/local/lib/amework/Headers/qiodevice.h:168:5: error: use of undeclared identifier ‘d_ptr’ In file included from /usr/local/lib/amework/Headers/qdatastream.h:46: In file included from file included from /usr/local/lib/amework/Headers/qmetatype.h:49: In file included from /Users/mansisaxena/geant4_10.04/geant4.10.04.p03/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh:45: The build fails with the following error. I am using the following command to build. I am trying to install Geant4 (geant4.10.04) on my MAC laptop, which has Mojave 10.14, and Xcode 9.4.1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |