Yolo_mark
Yolo_mark copied to clipboard
error: ‘setfill’ is not a member of ‘std
ubuntu16.04 gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
After I clone the project, I just cd into the directory and follow the guide.
- "cmake ."
- "make"
and I got this error
envy@amax:~/GIT/Yolo_mark$ make Scanning dependencies of target yolo_mark [ 50%] Building CXX object CMakeFiles/yolo_mark.dir/main.cpp.o /home/envy/GIT/Yolo_mark/main.cpp: In function ‘int main(int, char**)’: /home/envy/GIT/Yolo_mark/main.cpp:179:41: error: ‘setw’ is not a member of ‘std’ image_counter_ss << std::setw(8) << std::setfill('0') << image_counter; ^ /home/envy/GIT/Yolo_mark/main.cpp:179:57: error: ‘setfill’ is not a member of ‘std’ image_counter_ss << std::setw(8) << std::setfill('0') << image_counter; ^ CMakeFiles/yolo_mark.dir/build.make:62: recipe for target 'CMakeFiles/yolo_mark.dir/main.cpp.o' failed make[2]: *** [CMakeFiles/yolo_mark.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/yolo_mark.dir/all' failed make[1]: *** [CMakeFiles/yolo_mark.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
@TPchanger THanks! I fixed it. Download your code from GitHub.