I looked at the source code lines for error 3) and have no idea at all why the compiler would be giving that warning -- did you modify the source file so my line numbers don't match yours?***
To answer your questions:
* It doesn't use the projection from the pto file -- only the FOV. What it needs to do the unblended sky model is the degrees in horizontal, so it can calculate the degrees per pixel. The assumption is that the pixels are square, not rectangular. The other assumption is that the degrees per pixel is a constant. I'm pretty sure that's not true for many projections, but it only needs to be "true enough" to work.
I made the changes to address your compile errors. It compiles and runs for me. Let me know how it goes. New code on github now.



CMake Error at CMakeLists.txt:5 (cmake_policy):
Policy "CMP0074" is not known to this version of CMake.
-- Looking for exp in m
-- Looking for exp in m - found
CMake Error at CMakeLists.txt:46 (install):
install TARGETS given no RUNTIME DESTINATION for executable target
"skyfill".
-- Configuring incomplete, errors occurred!
See also "/home/welty/images/src/skyfill/build/CMakeFiles/CMakeOutput.log".