Hi Marcel,
I am trying to install a conquest server on one of the Raspberry Pi, however, when I ran the maklinux, the following error pops up:
In file included from charls/interface.cpp:16:0,
from charls/all.cpp:2:
charls/header.h:60:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<STRATEGY> GetCodec(const JlsParameters& info, const JlsCustomParameters&);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:17:0,
from charls/all.cpp:3:
charls/decoderstrategy.h:36:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
virtual void DecodeScan(std::auto_ptr<ProcessLine> outputData, const JlsRect& size, ByteStreamInfo* compressedData, bool bCheck) = 0;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:17:0,
from charls/all.cpp:3:
charls/decoderstrategy.h:310:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ProcessLine> _processLine;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:18:0,
from charls/all.cpp:3:
charls/encoderstrategy.h:44:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
virtual size_t EncodeScan(std::auto_ptr<ProcessLine> rawData, ByteStreamInfo* compressedData, void* pvoidCompare) = 0;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:18:0,
from charls/all.cpp:3:
charls/encoderstrategy.h:183:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<DecoderStrategy> _qdecoder;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:18:0,
from charls/all.cpp:3:
charls/encoderstrategy.h:187:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ProcessLine> _processLine;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:35:0,
from charls/all.cpp:3:
charls/scan.h:198:26: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
size_t EncodeScan(std::auto_ptr<ProcessLine> rawData, ByteStreamInfo* compressedData, void* pvoidCompare);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:35:0,
from charls/all.cpp:3:
charls/scan.h:199:23: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
void DecodeScan(std::auto_ptr<ProcessLine> rawData, const JlsRect& size, ByteStreamInfo* compressedData, bool bCompare);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:35:0,
from charls/all.cpp:3:
charls/scan.h:803:51: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
size_t JlsCodec<TRAITS,STRATEGY>::EncodeScan(std::auto_ptr<ProcessLine> processLine, ByteStreamInfo* compressedData, void* pvoidCompare)
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/jpegls.cpp:35:0,
from charls/all.cpp:3:
charls/scan.h:825:49: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
void JlsCodec<TRAITS,STRATEGY>::DecodeScan(std::auto_ptr<ProcessLine> processLine, const JlsRect& rect, ByteStreamInfo* compressedData, bool bCompare)
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:3:0:
charls/jpegls.cpp:88:6: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<STRATEGY> JlsCodecFactory<STRATEGY>::GetCodec(const JlsParameters& info, const JlsCustomParameters& presets)
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:3:0:
charls/jpegls.cpp: In member function ‘std::auto_ptr<STRATEGY> JlsCodecFactory<STRATEGY>::GetCodec(const JlsParameters&, const JlsCustomParameters&)’:
charls/jpegls.cpp:107:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
return std::auto_ptr<STRATEGY>(pstrategy);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:5:0:
charls/header.cpp: In member function ‘virtual void JpegImageDataSegment::Serialize(JpegStreamWriter&)’:
charls/header.cpp:69:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<EncoderStrategy> qcodec = JlsCodecFactory<EncoderStrategy>().GetCodec(info, _info.custom);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:5:0:
charls/header.cpp:72:48: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
size_t cbyteWritten = qcodec->EncodeScan(std::auto_ptr<ProcessLine>(processLine), &compressedData, streamWriter._bCompare ? streamWriter.GetPos() : NULL);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:5:0:
charls/header.cpp: In member function ‘void JpegMarkerReader::Read(ByteStreamInfo)’:
charls/header.cpp:136:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<DecoderStrategy> qcodec = JlsCodecFactory<DecoderStrategy>().GetCodec(_info, _info.custom);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from charls/all.cpp:5:0:
charls/header.cpp:138:27: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
qcodec->DecodeScan(std::auto_ptr<ProcessLine>(processLine), _rect, &_byteStream, _bCompare);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from charls/jpegmarker.h:7,
from charls/header.h:9,
from charls/interface.cpp:16,
from charls/all.cpp:2:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
I believe "g++ -std=c++11 -o $SRC/charls.o -c $SRC/charls/all.cpp -I$SRC/charls" is the cause of the trouble, since I am not good at C++, could you please help me with that, thanks a lot in advance!
Kind Regards,
Jack