fixed Ubuntu build

This commit is contained in:
matlabbe
2016-01-05 15:44:34 -05:00
parent 2108f449b3
commit 389d29ebf5
7 changed files with 10 additions and 11 deletions

View File

@@ -9,6 +9,7 @@
#define PFMREADER_H_
#include <iostream>
#include <stdio.h>
#include <opencv2/opencv.hpp>
// taken from http://vision.middlebury.edu/stereo/ evaluation tool

View File

@@ -177,7 +177,7 @@ int main(int argc, char * argv[])
// dymax=0.423
// ---
std::string calibFile = argv[3];
std::ifstream stream(calibFile);
std::ifstream stream(calibFile.c_str());
std::string line;
// two first lines are camera intrinsics