Skip to content

Commit 39fcfb7

Browse files
committed
Missing include. There is still (at least) 1 compilation error left, but it is in opencv (it seems that cvconfig.h does not get installed). Thanks arnaudgelas.
1 parent fbc677c commit 39fcfb7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libmv_opencv/test/test_precomp.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define __OPENCV_TEST_PRECOMP_HPP__
77

88
#include <opencv2/sfm/sfm.hpp>
9+
#include <opencv2/core/core_c.h>
910
#include <opencv2/ts/ts.hpp>
1011
#include <opencv2/core/core.hpp>
1112
#include <iostream>
@@ -133,7 +134,7 @@ namespace cvtest
133134
*
134135
*/
135136
void
136-
parser_2D_tracks(const string &filename, libmv::Tracks &tracks);
137+
parser_2D_tracks(const std::string &filename, libmv::Tracks &tracks);
137138

138139
} // namespace cvtest
139140

src/ui/calibration/main.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "main.h"
2222

23+
#include <opencv2/core/types_c.h> // CV_TERMCRIT_EPS
2324
#include <opencv2/core/core.hpp> //cvFindCornerSubPix
2425
#include <opencv2/imgproc/imgproc.hpp> //cvFindCornerSubPix
2526
#include <opencv2/calib3d/calib3d.hpp> //cvFindChessboardCorners

0 commit comments

Comments
 (0)