OpenCV build from source error

sounds like an idea.
run cmake once on pc1, let it do the downloads,
then transfer to pc2, and do your VS configuration there

note, that it actually downloads to opencv/.cache, so you’ll need to transfer that, too.