07/12/25 20:22:00 zewbeoZV
>>760
こんなエラーが出るんだけど、なんか足りないライブラリがありますか?
build-essential,glut,xorg-devで入れたんですが。
g++ -c -O2 -I/usr/include/X11 MString.cpp
/usr/include/c++/4.1.3/backward/iostream.h:31 から include されたファイル中,
MString.H:69 から,
MString.cpp:2 から:
/usr/include/c++/4.1.3/backward/backward_warning.h:32:2: 警告: #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 <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>.
To disable this warning use -Wno-deprecated.
MString.cpp: In member function ‘String& String::ReplaceString(const String&, const String&)’:
MString.cpp:203: error: ‘::Right’ has not been declared
MString.cpp: In member function ‘String String::Token(const String&, const String&)’:
MString.cpp:327: error: ‘::Mid’ has not been declared
MString.cpp:330: error: ‘::Mid’ has not been declared
MString.cpp:363: error: ‘::Mid’ has not been declared
MString.cpp:382: error: ‘::Left’ has not been declared
make: *** [MString.o] エラー 1