Getting errors while building Opencv 4.6.0

it is unclear, what you did here, exactly. can you explain a bit more ?
maybe add the cmake console output ?

also, this looks weird:

3 dots in a path, srsly ?
what is opencv_world doing there ?
and what is the file list below ?