mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
fixed Ubuntu build
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user