Skip to content

I got this error #2

@jekyllandhydee

Description

@jekyllandhydee

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions