Build with VecGeom

I am trying to install 10.04.p03 with VecGeom library, but it keeps failing.
I have downloaded VecGeom in https://gitlab.cern.ch/VecGeom/VecGeom, and tried building VecGeom with BENCHMARK and ‘GEANT4’ on and off (tried 4 different cases).
I build Geant4 with GEANT4_USE_USOLIDS=ALL, and specified VecGeom_DIR as well.
Below are the last several lines for building Geant4 10.04.p03.

[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/biasing/src/G4VImportanceSplitExaminer.cc.o
[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/biasing/src/G4VWeightWindowAlgorithm.cc.o
[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/biasing/src/G4VWeightWindowStore.cc.o
[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/biasing/src/G4WeightWindowAlgorithm.cc.o
[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/biasing/src/G4WeightWindowStore.cc.o
[ 7%] Building CXX object source/geometry/CMakeFiles/G4geometry.dir/divisions/src/G4PVDivision.cc.o
In file included from /home/hhg/wsl/else/VecGeom-master/lib/cmake/VecGeom/…/…/…/include/volumes/UnplacedPolycone.h:13:
,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/solids/specific/include/G4UPolycone.hh:50,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/solids/specific/include/G4Polycone.hh:70,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/divisions/include/G4ParameterisationPolycone.hh:47,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/divisions/src/G4PVDivision.cc:43:
/home/hhg/wsl/else/VecGeom-master/lib/cmake/VecGeom/…/…/…/include/volumes/UnplacedVolume.h: In member function ‘virtual vecgeom::cxx::SolidMesh* vecgeom::cxx::VUnplacedVolume::CreateMesh3D(const vecgeom::cxx::Transformation3D&, size_t) const’:
/home/hhg/wsl/else/VecGeom-master/lib/cmake/VecGeom/…/…/…/include/volumes/UnplacedVolume.h:339:59: warning: unused parameter ‘trans’ [-Wunused-parameter]
SolidMesh *CreateMesh3D(Transformation3D const &trans, const size_t nFaces) const { return nullptr; };
^~~~~
/home/hhg/wsl/else/VecGeom-master/lib/cmake/VecGeom/…/…/…/include/volumes/UnplacedVolume.h:339:79: warning: unused parameter ‘nFaces’ [-Wunused-parameter]
sh3D(Transformation3D const &trans, const size_t nFaces) const { return nullptr; };
^~~~~~
In file included from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/solids/specific/include/G4UPolycone.hh:46:0,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/solids/specific/include/G4Polycone.hh:70,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/divisions/include/G4ParameterisationPolycone.hh:47,
from /home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/divisions/src/G4PVDivision.cc:43:
/home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/management/include/G4UAdapter.hh: In instantiation of ‘class G4UAdaptervecgeom::cxx::UnplacedPolycone’:
/home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/solids/specific/include/G4UPolycone.hh:57:28: required from here
/home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/management/include/G4UAdapter.hh:74:38: error: no members matching ‘vecgeom::cxx::UnplacedPolycone::operator delete’ in ‘class vecgeom::cxx::UnplacedPolycone’
using UnplacedVolume_t::operator delete;
^~~~~~
/home/hhg/wsl/Geant4/10.04.p03/geant4.10.04.p03/source/geometry/management/include/G4UAdapter.hh:75:38: error: no members matching ‘vecgeom::cxx::UnplacedPolycone::operator new’ in ‘class vecgeom::cxx::UnplacedPolycone’
using UnplacedVolume_t::operator new;
^~~
source/geometry/CMakeFiles/G4geometry.dir/build.make:446: recipe for target ‘source/geometry/CMakeFiles/G4geometry.dir/divisions/src/G4PVDivision.cc.o’ failed
make[2]: *** [source/geometry/CMakeFiles/G4geometry.dir/divisions/src/G4PVDivision.cc.o] Error 1
CMakeFiles/Makefile2:825: recipe for target ‘source/geometry/CMakeFiles/G4geometry.dir/all’ failed
make[1]: *** [source/geometry/CMakeFiles/G4geometry.dir/all] Error 2
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2

Best regards,
Haegin

Seems you are using the Master branch of VecGeom…
Please, read the release notes for Geant4 10.4: you should use tags of the v00.05 series of VecGeom; the Master is not compatible with Geant4 10.4.

You are right. Thank you very much! I will try with v00.05 series.