Skip to content

Problems installing #43

@Gregoriomartjim

Description

@Gregoriomartjim

Hello i get this error while trying to install these libraries i hope you could helpme.

../SfM-Toy-Library-master/build$ make
Scanning dependencies of target SfMToyLibrary
[ 10%] Building CXX object SfMToyLib/CMakeFiles/SfMToyLibrary.dir/SfMCommon.cpp.o
[ 20%] Building CXX object SfMToyLib/CMakeFiles/SfMToyLibrary.dir/SfM.cpp.o
/.../SfM-Toy-Library-master/SfMToyLib/SfM.cpp: In member function ‘void sfmtoylib::SfM::saveCloudAndCamerasToPLY(const string&)’:
/.../SfM-Toy-Library-master/SfMToyLib/SfM.cpp:636:18: error: variable ‘std::ofstream ofs’ has initializer but incomplete type
ofstream ofs(prefix + "_points.ply");
^
/home/rafaga/Escritorio/Gregorio/SfM-Toy-Library-master/SfMToyLib/SfM.cpp:668:19: error: variable ‘std::ofstream ofsc’ has initializer but incomplete type
ofstream ofsc(prefix + "_cameras.ply");
^
SfMToyLib/CMakeFiles/SfMToyLibrary.dir/build.make:86:
'SfMToyLib/CMakeFiles/SfMToyLibrary.dir/SfM.cpp.o'
make[2]: *** [SfMToyLib/CMakeFiles/SfMToyLibrary.dir/SfM.cpp.o] Error 1
CMakeFiles/Makefile2:161: fallo en las instrucciones para el objetivo 'SfMToyLib/CMakeFiles/SfMToyLibrary.dir/all'
make[1]: *** [SfMToyLib/CMakeFiles/SfMToyLibrary.dir/all] Error 2
Makefile:83: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

regards

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