What's new

[TFS] Kompilacja antyka 0.4 na Debianie 10

$wiru$

New User
Joined
Aug 13, 2022
Messages
3
Reaction score
0
Ma ktoś pomysł jak to ogarnąć? Błąd jest trochę dłuższy ale wklejam połowę, bo za długię i nie mogłem tematu założyć :D
../../src/raids.cpp: In member function ‘bool Raid::loadFromXml(const string&)’:
../../src/raids.cpp:239:17: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’})
std::clog << "[Error - Raid::loadFromXml] Could not load raid file " << _file name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
<< std::endl << std::clog << getLastXMLError() << std::endl;
~~~~~~~~~~~~~^~~~~~
../../src/raids.cpp:239:17: note: candidate: ‘operator<<(int, int)’ <built-in>
../../src/raids.cpp:239:17: note: no known conversion for argument 2 from ‘std ::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/8/istream:39,
from /usr/include/c++/8/sstream:38,
from /usr/include/c++/8/complex:45,
from /usr/include/boost/detail/container_fwd.hpp:98,
from /usr/include/boost/container_hash/extensions.hpp:22,
from /usr/include/boost/container_hash/hash.hpp:760,
from /usr/include/boost/type_index/stl_type_index.hpp:43,
from /usr/include/boost/type_index.hpp:29,
from /usr/include/boost/function/function_base.hpp:21,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:30,
from ../../src/otpch.h:35,
from ../../src/raids.cpp:17:
/usr/include/c++/8/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(std::ba sic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Tr aits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]’
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^~~~~~~~
/usr/include/c++/8/ostream:108:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘std::basic_ostream<char>:: __ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)’ {aka ‘std::basic _ostream<char>& (*)(std::basic_ostream<char>&)’}
/usr/include/c++/8/ostream:117:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(std::ba sic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits >::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::bas ic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::bas ic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]’
operator<<(__ios_type& (*__pf)(__ios_type&))
^~~~~~~~
/usr/include/c++/8/ostream:117:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘std::basic_ostream<char>:: __ios_type& (*)(std::basic_ostream<char>::__ios_type&)’ {aka ‘std::basic_ios<cha r>& (*)(std::basic_ios<char>&)’}
/usr/include/c++/8/ostream:127:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(std::io s_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<cha r>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<cha r>]’
operator<<(ios_base& (*__pf) (ios_base&))
^~~~~~~~
/usr/include/c++/8/ostream:127:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘std::ios_base& (*)(std::io s_base&)’
/usr/include/c++/8/ostream:166:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(long in t) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_Ch arT, _Traits>::__ostream_type = std::basic_ostream<char>]’
operator<<(long __n)
^~~~~~~~
/usr/include/c++/8/ostream:166:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘long int’
/usr/include/c++/8/ostream:170:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(long un signed int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_os tream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]’
operator<<(unsigned long __n)
^~~~~~~~
/usr/include/c++/8/ostream:170:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘long unsigned int’
/usr/include/c++/8/ostream:174:7: note: candidate: ‘std::basic_ostream<_CharT, _ Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::eek:perator<<(bool) [ with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]’
operator<<(bool __n)
^~~~~~~~
/usr/include/c++/8/ostream:174:7: note: no known conversion for argument 1 fro m ‘std::eek:stream’ {aka ‘std::basic_ostream<char>’} to ‘bool’
In file included from /usr/include/c++/8/ostream:693,
from /usr/include/c++/8/istream:39,
from /usr/include/c++/8/sstream:38,
from /usr/include/c++/8/complex:45,
from /usr/include/boost/detail/container_fwd.hpp:98,
from /usr/include/boost/container_hash/extensions.hpp:22,
from /usr/include/boost/container_hash/hash.hpp:760,
from /usr/include/boost/type_index/stl_type_index.hpp:43,
from /usr/include/boost/type_index.hpp:29,
from /usr/include/boost/function/function_base.hpp:21,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:30,
from ../../src/otpch.h:35,
from ../../src/raids.cpp:17:
 

TenTypSwir

NNSTORY.EU Developer
Joined
Jun 8, 2010
Messages
1,657
Reaction score
117
apt-get update -y
apt-get upgrade -y
+

Nie lepiej przejść na tfsa 1.4 (stable) albo 1.5 (unstable) czy nawet zoptymalizowana wersję od Madao?

Zbieżność osób i nicków jest przypadkowa xd
 

$wiru$

New User
Joined
Aug 13, 2022
Messages
3
Reaction score
0
Tak, pewnie lepiej tylko ten 0.4 obsługuje 7.6. Próbowałem jeszcze 1.5 downgrade od Nekiro ale po kompilacji nie da się zalogować.
 

Placek

Blue Waffle
Joined
Sep 30, 2008
Messages
6,787
Reaction score
672
Age
7
Podejrzewam, że prościej będzie rozwiązać problem z logowaniem z 7.6 na nowym silniku 1.5 niż postawić to w ogóle na 0.4 w 2022 roku :D A z każdym kolejnym upgrade debiana będzie coraz trudniej. A takie poradniki jak postawić na systemie x to co roku muszą wychodzić nowe, bo buster jest oldstable, a niedługo wypada z obiegu i wychodzi bookworm.
 

$wiru$

New User
Joined
Aug 13, 2022
Messages
3
Reaction score
0
@Placek a no wiadomo. Generalnie problem już rozwiązany (pomogli na discordzie), ale zanim skompilowałem 0.4 do końca musiałem poprawić jeszcze parenaście rzeczy zanim się udało odpalić serwer na testa. Może faktycznie prościej będzie spróbować uruchomić to 1.5, szczególnie, że kompilacja odbyła się bez żadnego błędu. Póki co jedyny problem jaki napotkałem to ten wyżej z zalogowaniem, a na tym 0.4 już się kilkanaście znalazło xd
 
Top