SfM-Toy-Library icon indicating copy to clipboard operation
SfM-Toy-Library copied to clipboard

fix missing fstream include

Open jasjuang opened this issue 7 years ago • 0 comments

Otherwise there will be compilation error

/home/jasjuang/SfM-Toy-Library/SfMToyLib/SfM.cpp:636:18: error: variable ‘std::ofstream ofs’ has initializer but incomplete type
     ofstream ofs(prefix + "_points.ply");
                  ^
/home/jasjuang/SfM-Toy-Library/SfMToyLib/SfM.cpp:668:19: error: variable ‘std::ofstream ofsc’ has initializer but incomplete type
     ofstream ofsc(prefix + "_cameras.ply");

jasjuang avatar Dec 23 '17 03:12 jasjuang