[ 6%] Building CXX object src/CMakeFiles/DBoW3.dir/FeatureVector.cpp.o
In file included from /home/DBow3-master/DBow3-master/src/FeatureVector.h:13,
from /home/jiangsiyi/DBow3-master/DBow3-master/src/FeatureVector.cpp:10:
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:99:21: error: ‘ostream’ in namespace ‘std’ does not name a type
99 | friend std::ostream& operator<<(std::ostream &out, const BowVector &v);
| ^~~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:16:1: note: ‘std::ostream’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
15 | #include "exports.h"
+++ |+#include <ostream>
16 | #if _WIN32
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:106:31: error: ‘string’ in namespace ‘std’ does not name a type
106 | void saveM(const std::string &filename, size_t W) const;
| ^~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:16:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
15 | #include "exports.h"
+++ |+#include <string>
16 | #if _WIN32
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:106:49: error: ‘size_t’ has not been declared
106 | void saveM(const std::string &filename, size_t W) const;
| ^~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:109:5: error: ‘uint64_t’ does not name a type
109 | uint64_t getSignature()const;
| ^~~~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
15 | #include "exports.h"
+++ |+#include <cstdint>
16 | #if _WIN32
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:111:24: error: ‘std::ostream’ has not been declared
111 | void toStream(std::ostream &str)const;
| ^~~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/BowVector.h:112:26: error: ‘std::istream’ has not been declared
112 | void fromStream(std::istream &str);
| ^~~~~~~
In file included from /home/jiangsiyi/DBow3-master/DBow3-master/src/FeatureVector.cpp:10:
/home/jiangsiyi/DBow3-master/DBow3-master/src/FeatureVector.h:48:15: error: ‘ostream’ in namespace ‘std’ does not name a type
48 | friend std::ostream& operator<<(std::ostream &out, const FeatureVector &v);
| ^~~~~~~
/home/jiangsiyi/DBow3-master/DBow3-master/src/FeatureVector.h:14:1: note: ‘std::ostream’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
13 | #include "BowVector.h"
+++ |+#include <ostream>
14 | #include <map>
make[2]: *** [src/CMakeFiles/DBoW3.dir/build.make:118:src/CMakeFiles/DBoW3.dir/FeatureVector.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:147:src/CMakeFiles/DBoW3.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
安装DBow3失败这是什么原因阿