SarKerson / dehazeProcessor

A C++ based program that offers two methods for image or video dehazing. One refer to the paper Single Image Haze Removal Using Dark Channel Prior, and the other refer to Non-local Image Dehazing. Furthermore, I trained a neural network for dehazing, and the pre-trained model has been serialized for reuse.
MIT License
45 stars 16 forks source link

I got this error #2

Open jekyllandhydee opened 1 year ago

jekyllandhydee commented 1 year ago

/src/nonLocalDehazeProcessor.cpp:17:17: error: variable ‘std::fstream f’ has initializer but incomplete type 17 | std::fstream f(sph_file, std::fstream::in); | ^~~~ /src/nonLocalDehazeProcessor.cpp:17:41: error: incomplete type ‘std::fstream’ {aka ‘std::basic_fstream’} used in nested name specifier 17 | std::fstream f(sph_file, std::fstream::in); | ^~ make[2]: [CMakeFiles/darkchannel.dir/build.make:154: CMakeFiles/darkchannel.dir/src/nonLocalDehazeProcessor.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:76: CMakeFiles/darkchannel.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

DowneyFlyfan commented 2 weeks ago

Same, man