So I understand that you’re not using stand-alone ROOT but ROOT is part of a larger CMake project? If it is an open project, e.g. on github, can you point us to the source code? For CMake related errors, @amadio might be able to help.
Thanks a lot! It was solution…but…
At first I must admit. I’m novice))
After deleting build-directory, old root version I started to launch basic geant4 examples…some of examples. Another one was needed old version of opengl and qt libraries. I managed with this problem, but forgot changed library to new one before restart my system (I used ldconfig). It was my fault. After rebooting I couldn’t launch Kubunt, even in recovery mode. I also couldn’t launch terminal(very strange). Nothing worked.
I reinstalled system, Qt, Root, Geant4(without problems) and now it works pretty well,…))) almost…
One of a Geant4 project have a segmentation violation. I will try to manage with it. In other case I will ask you again.