I compile successfully with original esp-idf!
remark: you clone esp-idf.git master branch, that can be untested.
I checkout latest release commit:
git clone --recursive https://github.com/espressif/esp-idf.git
git checkout 3b92e85
git status
....remove newer folders
git clone https://github.com/moononournation/esp32-cam-demo.git
git submodule update --init --recursive
make menuconfig
make flash
it works!!