Nerei / kinfu_remake

Optimized and reworked version of Kinfu
BSD 3-Clause "New" or "Revised" License
339 stars 125 forks source link

Compilation error w/ OpenCV2 file #8

Closed mankoff closed 9 years ago

mankoff commented 9 years ago
/usr/include/opencv2/contrib/contrib.hpp:273:23: error: ‘vector’ does not name a type
         Octree( const vector<Point3f>& points, int maxLevels = 10, int minPoints = 20 );

I'm just doing cmake .. and then make from a build sub-folder, but the make crashes fairly quickly with the above error. I have all dependencies installed including opencv2 and opencv3.

Nerei commented 9 years ago

Hm.. It seems OpenCV bug. Anyway I removed #include opencv2/contrib/contrib.hpp and this should fix it.

mankoff commented 9 years ago

Fixed. Thanks!