DetectionMetrics icon indicating copy to clipboard operation
DetectionMetrics copied to clipboard

Error while compiling DetectionSuite from source

Open hmrishavbandy opened this issue 4 years ago • 1 comments

I am getting the following error while I try to build the project with make after build files have been written using Cmake. /home/hmrishav/DetectionSuite/DeepLearningSuite/DeepLearningSuiteLib/DatasetConverters/readers/DatasetReader.cpp: In member function ‘void DatasetReader::SetClasses(const string&)’: /home/hmrishav/DetectionSuite/DeepLearningSuite/DeepLearningSuiteLib/DatasetConverters/readers/DatasetReader.cpp:197:38: error: variable ‘std::ifstream labelFile’ has initializer but incomplete type std::ifstream labelFile(classesFile);

hmrishavbandy avatar Mar 29 '20 18:03 hmrishavbandy

Well, i figured that the file DatasetReader.cpp had a header missing. #include<fstream> will be submitting a pull request soon :)

hmrishavbandy avatar Mar 29 '20 19:03 hmrishavbandy