MyEnigma

とある自律移動システムエンジニアのブログです。#Robotics #Programing #C++ #Python #MATLAB #Vim #Mathematics #Book #Movie #Traveling #Mac #iPhone

C++のプログラミングで以下のようなエラーメッセージが出た時は,

in file included from /usr/include/c++/4.0.0/backward/iostream.h:31,
from Monocular.cpp:25:
/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated.

#include <iostream.h>
#include <vector.h>

ではなく

#include <iostream>
#include <vector>

とインクルードしましょう.