I setup openGl to work with Geant4 and now I’m trying to run exampled B1, which I previously had no errors building. Now when I run cmake
I get the error
CMake Error at /Users/Stephen/Geant4/geant4_10_06-install/lib/Geant4-10.6.1/Geant4PackageCache.cmake:18 (geant4_set_and_check_package_variable):
geant4_set_and_check_package_variable Macro invoked with incorrect
arguments for macro named: geant4_set_and_check_package_variable
Call Stack (most recent call first):
– Found OpenGL: opengl32
– Configuring incomplete, errors occurred!
See also “C:/Users/Stephen/Geant4/geant4_10_06-install/share/Geant4-10.6.1/examples/basic/B1-build/CMakeFiles/CMakeOutput.log”.
I read in another post that this was due to an issue locating the openGl libraries but the answer was very vague and I can’t figure out how to fix it. Any help would be much appreciated