Adding visualization after basic installation

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.0
_Operating System:_MAC sonoma 14.1.2 (23B92)
_Compiler/Version:_AppleClang/15.0.0.15000100
_CMake Version:_3.24.4

I successfully installed the geant4 following the instruction at Building and Installing from Source — Geant4 Installation Guide 11.2 documentation without additional option. After I had played a bit with examples/basic/B1, I wanted to turn on the visualization. According to the instruction in the link above, I just have to go back to the build and executed “-DGEANT4_USE_OPENGL_X11=ON .”. Then I got these error messages(see below),
"-- Checking C++ feature CXXSTDLIB_FILESYSTEM_NATIVE - Success
– Forcing GEANT4_USE_XM to ON, required by Inventor driver
CMake Error at cmake/Modules/G4InterfaceOptions.cmake:138 (find_package):
By not providing “FindCoin.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Coin”, but
CMake did not find one.

Could not find a package configuration file provided by “Coin” (requested
version 4.0.0) with any of the following names:

CoinConfig.cmake
coin-config.cmake

Add the installation prefix of “Coin” to CMAKE_PREFIX_PATH or set
“Coin_DIR” to a directory containing one of the above files. If “Coin”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
cmake/Modules/G4CMakeMain.cmake:64 (include)
CMakeLists.txt:49 (include)

– Configuring incomplete, errors occurred!
See also “/Users/mbai/geant4-v11.2.0-build/CMakeFiles/CMakeOutput.log”.
See also “/Users/mbai/geant4-v11.2.0-build/CMakeFiles/CMakeError.log”.

After some googling, I found similar attempt Visualization on MacOSX - #4 by allison. I then tried “cmake -DGEANT4_USE_OPENGL_X11=ON -DCMAKE_INSTALL_PREFIX=/Users/mbai/geant4-v11.2.0-install/ /Users/mbai/geant4-v11.2.0”, yet still got similar error messages. I even tried “make uninstall” trying to start from fresh, yet again met similar error messages.

Your help is really appreciated.

Hi

It’s strange you’re getting a message about Inventor. Did you ask for it? Please let us have your full build command, all cmake options.

John

No, I didn’t ask for Inventor. As for the full build, all I did was following the instruction, i.e.

cd /path/to/geant4-v11.2.0-build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/geant4-v11.2.0-install /path/to/geant4-v11.2.0
cmake -DGEANT4_INSTALL_DATA=ON .

Afterwards, I did
cd /path/to/geant-v11.2.0-install/bin
source geant4.sh

Could you post the CMakeCache.txt from your Geant4 build please? The -DGEANT4_USE_OPENGL_X11=ON option should not be causing the enablement of any Inventor related functionality.

This is the CMakeCache file.

For build in directory: /Users/mbai/geant4-v11.2.0-build

It was generated by CMake: /opt/local/bin/cmake

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Build Geant4 shared libraries
BUILD_SHARED_LIBS:BOOL=ON

//Build Geant4 static libraries
BUILD_STATIC_LIBS:BOOL=OFF

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar

//Choose the type of build, options are: None Release TestRelease
// MinSizeRel Debug Debug_FPE RelWithDebInfo MinSizeRel Maintainer.
CMAKE_BUILD_TYPE:STRING=Release

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=-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

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g -Og

//Flags used by the compiler during Debug_FPE builds
CMAKE_CXX_FLAGS_DEBUG_FPE:STRING= -g -Og -DG4FPE_DEBUG

//Flags used by the compiler during Maintainer builds
CMAKE_CXX_FLAGS_MAINTAINER:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -fno-trapping-math -ftree-vectorize -fno-math-errno

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the compiler during TestRelease builds
CMAKE_CXX_FLAGS_TESTRELEASE:STRING=-g -DG4DEBUG_VERBOSE -DG4FPE_DEBUG

//C++ Standard to compile against (17;20;23)
CMAKE_CXX_STANDARD:STRING=17

//C compiler
CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/mbai/geant4-v11.2.0-build/CMakeFiles/pkgRedirects

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR/Geant4)
CMAKE_INSTALL_DATADIR:PATH=share/Geant4

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//Path to a program.
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/Users/mbai/geant4-v11.2.0-install

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/opt/local/bin/gmake

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump

//Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING=

//Minimum OS X version to target for deployment (at runtime); newer
// APIs weak linked. Set to empty string for default value.
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=14.1

//The product will be built against the headers and libraries located
// inside the indicated SDK.
CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=C++ toolkit for simulating the passage of particles through matter

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=https://geant4.cern.ch

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=Geant4

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=2.3.3

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=2

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=3

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=3

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//Path to a program.
CMAKE_RANLIB:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//The directory containing a CMake configuration file for Coin.
Coin_DIR:PATH=Coin_DIR-NOTFOUND

//Path to a file.
EXPAT_INCLUDE_DIR:PATH=/opt/local/include

//Path to a library.
EXPAT_LIBRARY:FILEPATH=/opt/local/lib/libexpat.dylib

//Enable automatic G4Backtrace signal handling in G4RunManager.
// Switch off for applications implementing their own signal handling
GEANT4_BUILD_BUILTIN_BACKTRACE:BOOL=OFF

//Enable assertions regardless of build mode
GEANT4_BUILD_ENABLE_ASSERTIONS:BOOL=OFF

//Enable multithreading in Geant4
GEANT4_BUILD_MULTITHREADED:BOOL=ON

//Build ParticleHP as HP
GEANT4_BUILD_PHP_AS_HP:BOOL=OFF

//Build libraries with sanitizer instrumentation (none;address;thread;undefined)
GEANT4_BUILD_SANITIZER:STRING=none

//Store trajectories in event processing. Switch off for improved
// performance but note that visualization of trajectories will
// not be possible
GEANT4_BUILD_STORE_TRAJECTORY:BOOL=ON

//Build libraries with Thread Local Storage model (initial-exec;local-exec;global-dynamic;local-dynamic;auto)
GEANT4_BUILD_TLS_MODEL:STRING=initial-exec

//Enable verbose output from Geant4 code. Switch off for better
// performance at the cost of fewer informational messages or warnings
GEANT4_BUILD_VERBOSE_CODE:BOOL=ON

//Enable and define all the tests of the project
GEANT4_ENABLE_TESTING:BOOL=OFF

//Download/Install datasets missing from GEANT4_INSTALL_DATADIR
GEANT4_INSTALL_DATA:BOOL=ON

//read-only architecture independent Geant4 physics data (DATADIR/data
GEANT4_INSTALL_DATADIR:PATH=

//Install optional TENDL dataset
GEANT4_INSTALL_DATASETS_TENDL:BOOL=OFF

//Timeout for Data Library downloads
GEANT4_INSTALL_DATA_TIMEOUT:STRING=1500

//Install code and documentation for Geant4 examples
GEANT4_INSTALL_EXAMPLES:BOOL=ON

//Install file recording build-time locations of required packages
GEANT4_INSTALL_PACKAGE_CACHE:BOOL=ON

//Build Geant4 Analysis/Visualization with Freetype support
GEANT4_USE_FREETYPE:BOOL=OFF

//Build Geant3 ASCII call list reader library
GEANT4_USE_G3TOG4:BOOL=OFF

//Build Geant4 with GDML support
GEANT4_USE_GDML:BOOL=OFF

//Build Geant4 analysis library with HDF5 support
GEANT4_USE_HDF5:BOOL=OFF

//Build Geant4 OpenInventor Xt/Win Visualization Driver
GEANT4_USE_INVENTOR:BOOL=ON

//Build Geant4 OpenInventor Qt Visualization Driver
GEANT4_USE_INVENTOR_QT:BOOL=OFF

//Build Geant4 OpenGL driver with X11 support
GEANT4_USE_OPENGL_X11:BOOL=ON

//Enable mutex locking in PTL task subqueues
GEANT4_USE_PTL_LOCKS:BOOL=OFF

//Build Geant4 with Qt support
GEANT4_USE_QT:BOOL=OFF

//Build RayTracer driver with X11 support
GEANT4_USE_RAYTRACER_X11:BOOL=OFF

//Use smart track stack
GEANT4_USE_SMARTSTACK:BOOL=OFF

//Use system CLHEP library
GEANT4_USE_SYSTEM_CLHEP:BOOL=OFF

//Use system Expat library
GEANT4_USE_SYSTEM_EXPAT:BOOL=ON

//Use system PTL library
GEANT4_USE_SYSTEM_PTL:BOOL=OFF

//Use system zlib library
GEANT4_USE_SYSTEM_ZLIB:BOOL=OFF

//Use TBB as PTL’s tasking backend
GEANT4_USE_TBB:BOOL=OFF

//Build Geant4 with TiMemory support
GEANT4_USE_TIMEMORY:BOOL=OFF

//EXPERIMENTAL: List Geant4 solids to replace with VecGeom equivalents
// (ALL;BOX;CONS;CTUBS;ELLIPSOID;ELLIPTICALCONE;ELLIPTICALTUBE;EXTRUDEDSOLID;HYPE;GENERICPOLYCONE;GENERICTRAP;ORB;PARA;PARABOLOID;POLYCONE;POLYHEDRA;SPHERE;TESSELLATEDSOLID;TET;TRAP;TRD;TORUS;TUBS)
GEANT4_USE_USOLIDS:STRING=OFF

//Build Geant4 with VTK visualisation
GEANT4_USE_VTK:BOOL=OFF

//Build Geant4 with Motif (X11) support
GEANT4_USE_XM:BOOL=ON

//Value Computed by CMake
Geant4_BINARY_DIR:STATIC=/Users/mbai/geant4-v11.2.0-build

//Value Computed by CMake
Geant4_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
Geant4_SOURCE_DIR:STATIC=/Users/mbai/geant4-v11.2.0

//Arguments to supply to pkg-config
PKG_CONFIG_ARGN:STRING=

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=/opt/local/bin/pkg-config

//Value Computed by CMake
PTL_BINARY_DIR:STATIC=/Users/mbai/geant4-v11.2.0-build/source/externals/ptl

//Value Computed by CMake
PTL_IS_TOP_LEVEL:STATIC=OFF

//Value Computed by CMake
PTL_SOURCE_DIR:STATIC=/Users/mbai/geant4-v11.2.0/source/externals/ptl

//Path to a library.
pkgcfg_lib_PC_EXPAT_expat:FILEPATH=/opt/local/lib/libexpat.dylib

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: BUILD_SHARED_LIBS
BUILD_SHARED_LIBS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: BUILD_STATIC_LIBS
BUILD_STATIC_LIBS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//STRINGS property for variable: CMAKE_BUILD_TYPE
CMAKE_BUILD_TYPE-STRINGS:INTERNAL=Release;TestRelease;MinSizeRel;Debug;Debug_FPE;RelWithDebInfo;MinSizeRel;Maintainer
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/mbai/geant4-v11.2.0-build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=24
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/opt/local/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/opt/local/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/opt/local/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG_FPE
CMAKE_CXX_FLAGS_DEBUG_FPE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MAINTAINER
CMAKE_CXX_FLAGS_MAINTAINER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_TESTRELEASE
CMAKE_CXX_FLAGS_TESTRELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD
CMAKE_CXX_STANDARD-ADVANCED:INTERNAL=1
//STRINGS property for variable: CMAKE_CXX_STANDARD
CMAKE_CXX_STANDARD-STRINGS:INTERNAL=17;20;23
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/opt/local/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/mbai/geant4-v11.2.0
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/opt/local/share/cmake-3.24
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CXXSTDLIB_FILESYSTEM_NATIVE:INTERNAL=TRUE
//ADVANCED property for variable: EXPAT_INCLUDE_DIR
EXPAT_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: EXPAT_LIBRARY
EXPAT_LIBRARY-ADVANCED:INTERNAL=1
//Details about finding EXPAT
FIND_PACKAGE_MESSAGE_DETAILS_EXPAT:INTERNAL=[/opt/local/lib/libexpat.dylib][/opt/local/include][v2.6.0()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Test G4ZLIB_NEEDS_DNP
G4ZLIB_NEEDS_DNP:INTERNAL=1
//ADVANCED property for variable: GEANT4_BUILD_BUILTIN_BACKTRACE
GEANT4_BUILD_BUILTIN_BACKTRACE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_BUILD_ENABLE_ASSERTIONS
GEANT4_BUILD_ENABLE_ASSERTIONS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_BUILD_PHP_AS_HP
GEANT4_BUILD_PHP_AS_HP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_BUILD_SANITIZER
GEANT4_BUILD_SANITIZER-ADVANCED:INTERNAL=1
//STRINGS property for variable: GEANT4_BUILD_SANITIZER
GEANT4_BUILD_SANITIZER-STRINGS:INTERNAL=none;address;thread;undefined
//ADVANCED property for variable: GEANT4_BUILD_STORE_TRAJECTORY
GEANT4_BUILD_STORE_TRAJECTORY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_BUILD_TLS_MODEL
GEANT4_BUILD_TLS_MODEL-ADVANCED:INTERNAL=1
//STRINGS property for variable: GEANT4_BUILD_TLS_MODEL
GEANT4_BUILD_TLS_MODEL-STRINGS:INTERNAL=initial-exec;local-exec;global-dynamic;local-dynamic;auto
//ADVANCED property for variable: GEANT4_BUILD_VERBOSE_CODE
GEANT4_BUILD_VERBOSE_CODE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_ENABLE_TESTING
GEANT4_ENABLE_TESTING-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_INSTALL_DATASETS_TENDL
GEANT4_INSTALL_DATASETS_TENDL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_INSTALL_DATA_TIMEOUT
GEANT4_INSTALL_DATA_TIMEOUT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_INSTALL_EXAMPLES
GEANT4_INSTALL_EXAMPLES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_INSTALL_PACKAGE_CACHE
GEANT4_INSTALL_PACKAGE_CACHE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_FREETYPE
GEANT4_USE_FREETYPE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_HDF5
GEANT4_USE_HDF5-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_PTL_LOCKS
GEANT4_USE_PTL_LOCKS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_SMARTSTACK
GEANT4_USE_SMARTSTACK-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_SYSTEM_PTL
GEANT4_USE_SYSTEM_PTL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_TBB
GEANT4_USE_TBB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_TIMEMORY
GEANT4_USE_TIMEMORY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GEANT4_USE_USOLIDS
GEANT4_USE_USOLIDS-ADVANCED:INTERNAL=1
//Have function fseeko
HAVE_FSEEKO:INTERNAL=1
//Result of TRY_COMPILE
HAVE_OFF64_T:INTERNAL=FALSE
//Have include stddef.h
HAVE_STDDEF_H:INTERNAL=1
//Have include stdint.h
HAVE_STDINT_H:INTERNAL=1
//Have include sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
//Test HAVE_TLS
HAVE_TLS:INTERNAL=1
//CHECK_TYPE_SIZE: off64_t unknown
OFF64_T:INTERNAL=
PC_EXPAT_CFLAGS:INTERNAL=-I/opt/local/include
PC_EXPAT_CFLAGS_I:INTERNAL=
PC_EXPAT_CFLAGS_OTHER:INTERNAL=
PC_EXPAT_FOUND:INTERNAL=1
PC_EXPAT_INCLUDEDIR:INTERNAL=/opt/local/include
PC_EXPAT_INCLUDE_DIRS:INTERNAL=/opt/local/include
PC_EXPAT_LDFLAGS:INTERNAL=-L/opt/local/lib;-lexpat
PC_EXPAT_LDFLAGS_OTHER:INTERNAL=
PC_EXPAT_LIBDIR:INTERNAL=/opt/local/lib
PC_EXPAT_LIBRARIES:INTERNAL=expat
PC_EXPAT_LIBRARY_DIRS:INTERNAL=/opt/local/lib
PC_EXPAT_LIBS:INTERNAL=
PC_EXPAT_LIBS_L:INTERNAL=
PC_EXPAT_LIBS_OTHER:INTERNAL=
PC_EXPAT_LIBS_PATHS:INTERNAL=
PC_EXPAT_MODULE_NAME:INTERNAL=expat
PC_EXPAT_PREFIX:INTERNAL=/opt/local
PC_EXPAT_STATIC_CFLAGS:INTERNAL=-I/opt/local/include
PC_EXPAT_STATIC_CFLAGS_I:INTERNAL=
PC_EXPAT_STATIC_CFLAGS_OTHER:INTERNAL=
PC_EXPAT_STATIC_INCLUDE_DIRS:INTERNAL=/opt/local/include
PC_EXPAT_STATIC_LDFLAGS:INTERNAL=-L/opt/local/lib;-lexpat
PC_EXPAT_STATIC_LDFLAGS_OTHER:INTERNAL=
PC_EXPAT_STATIC_LIBDIR:INTERNAL=
PC_EXPAT_STATIC_LIBRARIES:INTERNAL=expat
PC_EXPAT_STATIC_LIBRARY_DIRS:INTERNAL=/opt/local/lib
PC_EXPAT_STATIC_LIBS:INTERNAL=
PC_EXPAT_STATIC_LIBS_L:INTERNAL=
PC_EXPAT_STATIC_LIBS_OTHER:INTERNAL=
PC_EXPAT_STATIC_LIBS_PATHS:INTERNAL=
PC_EXPAT_VERSION:INTERNAL=2.6.0
PC_EXPAT_expat_INCLUDEDIR:INTERNAL=
PC_EXPAT_expat_LIBDIR:INTERNAL=
PC_EXPAT_expat_PREFIX:INTERNAL=
PC_EXPAT_expat_VERSION:INTERNAL=
//ADVANCED property for variable: PKG_CONFIG_ARGN
PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//Last value of BUILD_OBJECT_LIBS
PTL_WATCH_VALUE_BUILD_OBJECT_LIBS:INTERNAL=
//Last value of BUILD_SHARED_LIBS
PTL_WATCH_VALUE_BUILD_SHARED_LIBS:INTERNAL=ON
//Last value of BUILD_STATIC_LIBS
PTL_WATCH_VALUE_BUILD_STATIC_LIBS:INTERNAL=OFF
//Last value of CMAKE_CXX_STANDARD
PTL_WATCH_VALUE_CMAKE_CXX_STANDARD:INTERNAL=17
//Last value of PTL_INSTALL_CONFIG
PTL_WATCH_VALUE_PTL_INSTALL_CONFIG:INTERNAL=ON
//Last value of PTL_INSTALL_HEADERS
PTL_WATCH_VALUE_PTL_INSTALL_HEADERS:INTERNAL=ON
//Last value of PTL_USE_CLANG_TIDY
PTL_WATCH_VALUE_PTL_USE_CLANG_TIDY:INTERNAL=
//Last value of PTL_USE_COVERAGE
PTL_WATCH_VALUE_PTL_USE_COVERAGE:INTERNAL=
//Last value of PTL_USE_LOCKS
PTL_WATCH_VALUE_PTL_USE_LOCKS:INTERNAL=OFF
//Last value of PTL_USE_SANITIZER
PTL_WATCH_VALUE_PTL_USE_SANITIZER:INTERNAL=
//Last value of PTL_USE_TBB
PTL_WATCH_VALUE_PTL_USE_TBB:INTERNAL=OFF
//Have include unistd.h
Z_HAVE_UNISTD_H:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/Users/mbai/geant4-v11.2.0-install
//Path to a program.
_Python3_EXECUTABLE:INTERNAL=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
//Python3 Properties
_Python3_INTERPRETER_PROPERTIES:INTERNAL=Python;3;10;5;64;;cpython-310-darwin;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages
_Python3_INTERPRETER_SIGNATURE:INTERNAL=594142bdbe30db65b6f807bd0a7c5f45
__pkg_config_arguments_PC_EXPAT:INTERNAL=QUIET;expat
__pkg_config_checked_PC_EXPAT:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_PC_EXPAT_expat
pkgcfg_lib_PC_EXPAT_expat-ADVANCED:INTERNAL=1
prefix_result:INTERNAL=/opt/local/lib

O.k., Inventor is specifically on, so try running again with

$ cmake -DGEANT4_USE_INVENTOR=OFF .

to disable this. You likely also need to do

$ cmake -DGEANT4_USE_XM=OFF .

to disable that as well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.