- Mesaj
- 81
- Çözümler
- 1
- Beğeni
- 43
- Puan
- 689
- Ticaret Puanı
- 0
db build ederken
Hata alıyordum rapidjson günceledim bu sefer build oldu ama start verirken connect: Connection refused hatası veriyor bunu nasıl çözerim ? files MartySama 5.8
x:
In file included from NetBase.cpp:4:
In file included from ./ClientManager.h:17:
../../../Extern/include/rapidjson/document.h:326:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int')
326 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~ ^
../../../Extern/include/rapidjson/document.h:332:20: note: non-static data member 'length' declared const here
332 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
1 error generated.
gmake[1]: *** [Makefile:110: .obj/NetBase.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from Main.cpp:5:
In file included from ./ClientManager.h:17:
../../../Extern/include/rapidjson/document.h:326:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int')
326 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~ ^
../../../Extern/include/rapidjson/document.h:332:20: note: non-static data member 'length' declared const here
332 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
In file included from DBManager.cpp:3:
In file included from ./ClientManager.h:17:
../../../Extern/include/rapidjson/document.h:326:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int')
326 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~ ^
../../../Extern/include/rapidjson/document.h:332:20: note: non-static data member 'length' declared const here
332 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
In file included from Cache.cpp:5:
In file included from ./ClientManager.h:17:
../../../Extern/include/rapidjson/document.h:326:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int')
326 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~ ^
../../../Extern/include/rapidjson/document.h:332:20: note: non-static data member 'length' declared const here
332 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
1 error generated.
gmake[1]: *** [Makefile:110: .obj/DBManager.o] Error 1
1 error generated.
gmake[1]: *** [Makefile:110: .obj/Main.o] Error 1
1 error generated.
gmake[1]: *** [Makefile:110: .obj/Cache.o] Error 1
gmake[1]: Leaving directory '/home/gamesrc/Server/db/src'
gmake: *** [Makefile:139: all] Error 2
Hata alıyordum rapidjson günceledim bu sefer build oldu ama start verirken connect: Connection refused hatası veriyor bunu nasıl çözerim ? files MartySama 5.8