deyu3110 2 Posted August 21, 2021 Share Posted August 21, 2021 ../../../Extern/include/msl/utils.h:179:56: error: constexpr function's return type 'void' is not a literal type template <class _Ty, std::size_t _Size> constexpr void refill(_Ty (&_Arr... ^ ../../../Extern/include/msl/utils.h:185:56: error: constexpr function's return type 'void' is not a literal type template <class _Ty, std::size_t _Size> constexpr void refill(_Ty (&_Arr... ^ ../../../Extern/include/msl/utils.h:191:44: error: constexpr function's return type 'void' is not a literal type template <class _Container> constexpr void refill(_Container & _Cont) ^ ../../../Extern/include/msl/utils.h:197:55: error: constexpr function's return type 'void' is not a literal type template <class _Container, class _Ty> constexpr void refill(_Container ... any idea? Link to comment Share on other sites More sharing options...
.Raidon 2 Posted August 26, 2021 Share Posted August 26, 2021 When I use your FreeBSD 12 .vdi and I want to get the IP for connection on ftp, I can't write in VM "ifconfig" to get the IP, I can't write the letter "i", the letter "i" is blocked or so^^ I hope someone can help me Link to comment Share on other sites More sharing options...
Active Member nazox 213 Posted August 26, 2021 Active Member Share Posted August 26, 2021 1 hour ago, .Raidon said: Cuando uso su FreeBSD 12 .vdi y quiero obtener la IP para la conexión en ftp, no puedo escribir en VM "ifconfig" para obtener la IP, no puedo escribir la letra "i", la letra "i "está bloqueado más o menos ^^ Espero que alguien pueda ayudarme in freebsd 12 is bsdconfig ,about "i" maybe have other region configuration, try push all buttons to find i xD in my case sometimes "i" is in "_" or "-" or "?" only click all butons 1 Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
.Raidon 2 Posted August 26, 2021 Share Posted August 26, 2021 15 minutes ago, nazox said: in freebsd 12 is bsdconfig ,about "i" maybe have other region configuration, try push all buttons to find i xD in my case sometimes "i" is in "_" or "-" or "?" only click all butons I found it, thanks xD Link to comment Share on other sites More sharing options...
Ciupi 0 Posted November 11, 2021 Share Posted November 11, 2021 compile test.cpp test.cpp:500:11: error: assigning to 'char *' from incompatible type 'const char *' if ((p = strrchr(c_pszFileName, '.'))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake: *** [Makefile:126: OBJDIR/test.o] Error 1 >?>. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4884 Posted November 11, 2021 Bot Share Posted November 11, 2021 3 hours ago, Ciupi said: compile test.cpp test.cpp:500:11: error: assigning to 'char *' from incompatible type 'const char *' if ((p = strrchr(c_pszFileName, '.'))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake: *** [Makefile:126: OBJDIR/test.o] Error 1 >?>. Just move on is not importing test.cpp Link to comment Share on other sites More sharing options...
Honorable Member Mali 41874 Posted January 27, 2022 Author Honorable Member Share Posted January 27, 2022 Updated Source: This is the hidden content, please Sign In or Sign Up use this, you will not get error about serverkey or other things 58 1 1 1 14 2 22 Link to comment Share on other sites More sharing options...
GenraliDev 3 Posted January 28, 2022 Share Posted January 28, 2022 A CMake guide would be very cool! Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 6, 2022 Share Posted February 6, 2022 Thank you very much! I followed the tutorials and managed to start my sserver with Clang 14 / c++2b. However, there are way too much warning while compiling. Especially for korean characters, unused variables and many deprecated things... An update to get rid of those warnings would be great. Anyways, thank you so much for everything you have done for this community. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4884 Posted February 26, 2022 Bot Share Posted February 26, 2022 (edited) i compile the game and db and when i try to start the server i have this errors.. Edited August 16, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium TAUMP 839 Posted March 2, 2022 Premium Share Posted March 2, 2022 (edited) On 2/26/2022 at 1:27 PM, Cryptex said: i compile the game and db and when i try to start the server i have this errors.. Upgrade freebsd Edited August 16, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4884 Posted March 2, 2022 Bot Share Posted March 2, 2022 1 hour ago, TAUMP said: Upgrade freebsd I just did and now work perfectly Link to comment Share on other sites More sharing options...
kjmoknjkoj 1 Posted August 30, 2022 Share Posted August 30, 2022 (edited) Ey. I was trying to compile in Freebsd 9.2 and im getting this error at compiling /game/src: Spoiler linking ../game_r40250.... OBJDIR/char_skill.o: In function `CHARACTER::ComputeSkill(unsigned int, CHARACTER*, unsigned char)': /usr/src/Source/game/src/char_skill.cpp:2045: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2105: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2106: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2113: undefined reference to `CPoly::GetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/src/Source/game/src/char_skill.cpp:2113: undefined reference to `CPoly::GetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/src/Source/game/src/char_skill.cpp:2170: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2201: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2230: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2282: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' /usr/src/Source/game/src/char_skill.cpp:2394: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' OBJDIR/char_skill.o:/usr/src/Source/game/src/char_skill.cpp:2264: more undefined references to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' follow collect2: error: ld returned 1 exit status gmake: *** [../game_r40250] Error 1 any solution?¿ Edited August 30, 2022 by kjmoknjkoj Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted November 21, 2022 Share Posted November 21, 2022 Is possible compile source under clang-16? I got problem with libthecore.. utils.c:341:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int tv; ^~~~~~~~~ 1 error generated. Link to comment Share on other sites More sharing options...
Active Member Ulas 172 Posted November 27, 2022 Active Member Share Posted November 27, 2022 On 2/18/2019 at 6:17 PM, Mali said: M2 Download Center Hidden Content Give reaction to this post to see the hidden content. ( Github Backup ) - Hidden Content Give reaction to this post to see the hidden content. ( GitHub ) Hidden Content Give reaction to this post to see the hidden content. ( VM 9.2 ) or Hidden Content Give reaction to this post to see the hidden content. ( VM 12 ) Use this source: Hidden Content Give reaction to this post to see the hidden content. cd /usr/ports/gcc7/ this is enoght? 2 Link to comment Share on other sites More sharing options...
REVERSE0 0 Posted December 23, 2022 Share Posted December 23, 2022 hehe Link to comment Share on other sites More sharing options...
carpediem999 0 Posted January 24, 2023 Share Posted January 24, 2023 Hmm Link to comment Share on other sites More sharing options...
DeeJaYSooN 1 Posted April 18, 2023 Share Posted April 18, 2023 thank you Link to comment Share on other sites More sharing options...
bastian1201 0 Posted August 10, 2023 Share Posted August 10, 2023 Thank you for this support and learning information, greetings. Link to comment Share on other sites More sharing options...
Premium DemOnJR 564 Posted August 13, 2023 Premium Share Posted August 13, 2023 Thanks i did update my sources from GCC49 to GCC10 and C++11 to C++14 then to C++17. Everything is working ok. Link to comment Share on other sites More sharing options...
coffeeRequired 0 Posted November 11, 2023 Share Posted November 11, 2023 (edited) https://metin2.download/picture/cw6YweVsCgpk5Oj4Bf64FBipCA7DEqP8/.png a password? root@black:/usr/home/black/GameSRC/Server # cd game/src/ root@black:/usr/home/black/GameSRC/Server/game/src # gmake clean root@black:/usr/home/black/GameSRC/Server/game/src # gmake -j7 compile BattleArena.cpp compile FSM.cpp compile MarkConvert.cpp compile MarkImage.cpp compile MarkManager.cpp compile OXEvent.cpp compile TrafficProfiler.cpp error: error: invaliderror invalid: value error value: invalid'c++2b' 'c++2b'invalidvaluein invalue'c++2b''-std=c++2b' errorerror '-std=c++2b': : 'c++2b'in error invalidinvalidin'-std=c++2b': note : notevaluevalue'-std=c++2b' invalid: use'c++2b''c++2b' notevalue use : 'c++98' ininnote'c++2b' 'c++98' : use or '-std=c++2b''-std=c++2b'use in or 'c++98' 'c++03' 'c++98' '-std=c++2b' 'c++03' orfor notenoteor for: : 'c++03''ISO C++ 1998 with amendments' 'c++03' note 'ISO C++ 1998 with amendments'useuse for: standard for standard'c++98''c++98' 'ISO C++ 1998 with amendments'use 'ISO C++ 1998 with amendments' oror standard'c++98'note standard : note'c++03''c++03' or: useforfornote'c++03' use note: 'gnu++98' 'ISO C++ 1998 with amendments''ISO C++ 1998 with amendments': for 'gnu++98' use or standardstandarduse 'ISO C++ 1998 with amendments' or 'gnu++98' 'gnu++03' 'gnu++98' standard 'gnu++03' orfor notenoteor for: : 'gnu++03''ISO C++ 1998 with amendments and GNU extensions' 'gnu++03' note 'ISO C++ 1998 with amendments and GNU extensions'useuse for: standard for standard'gnu++98''gnu++98' 'ISO C++ 1998 with amendments and GNU extensions'use 'ISO C++ 1998 with amendments and GNU extensions' oror standard'gnu++98'note 'gnu++03' standard : note 'gnu++03' or: for for use note'gnu++03' use'ISO C++ 1998 with amendments and GNU extensions''ISO C++ 1998 with amendments and GNU extensions'note: 'c++11' : for 'c++11'standardstandarduse for use 'ISO C++ 1998 with amendments and GNU extensions' for 'c++11' 'ISO C++ 2011 with amendments' 'c++11' standard 'ISO C++ 2011 with amendments'notenote forstandard : : for standard 'ISO C++ 2011 with amendments' useuse'ISO C++ 2011 with amendments' note standard: note'c++11''c++11'standard: note use: forfor use note'c++11' use'ISO C++ 2011 with amendments''ISO C++ 2011 with amendments'note: 'gnu++11' : for 'gnu++11'standardstandarduse for use 'ISO C++ 2011 with amendments' for 'gnu++11' 'ISO C++ 2011 with amendments and GNU extensions' 'gnu++11' standard 'ISO C++ 2011 with amendments and GNU extensions'notenote forstandard : : for standard 'ISO C++ 2011 with amendments and GNU extensions' useuse'ISO C++ 2011 with amendments and GNU extensions' note standard: note'gnu++11''gnu++11'standard: note use: forfor use note'gnu++11' use'ISO C++ 2011 with amendments and GNU extensions''ISO C++ 2011 with amendments and GNU extensions'note: 'c++14' : for 'c++14'standardstandarduse for use 'ISO C++ 2011 with amendments and GNU extensions' for 'c++14' 'ISO C++ 2014 with amendments' 'c++14' standard 'ISO C++ 2014 with amendments'notenote forstandard : : for standard 'ISO C++ 2014 with amendments' useuse'ISO C++ 2014 with amendments' note standard: note'c++14''c++14'standard: note use: forfor use note'c++14' use'ISO C++ 2014 with amendments''ISO C++ 2014 with amendments'note: 'gnu++14' : for 'gnu++14'standardstandarduse for use 'ISO C++ 2014 with amendments' for 'gnu++14' 'ISO C++ 2014 with amendments and GNU extensions' 'gnu++14' standard 'ISO C++ 2014 with amendments and GNU extensions'notenote forstandard : : for standard 'ISO C++ 2014 with amendments and GNU extensions' useuse'ISO C++ 2014 with amendments and GNU extensions' note standard: note'gnu++14''gnu++14'standard: note use: forfor use note'gnu++14' use'ISO C++ 2014 with amendments and GNU extensions''ISO C++ 2014 with amendments and GNU extensions'note: 'c++17' : for 'c++17'standardstandarduse for use 'ISO C++ 2014 with amendments and GNU extensions' for 'c++17' 'ISO C++ 2017 with amendments' 'c++17' standard 'ISO C++ 2017 with amendments'notenote forstandard : : for standard 'ISO C++ 2017 with amendments' useuse'ISO C++ 2017 with amendments' note standard: note'c++17''c++17'standard: note use: forfor use note'c++17' use'ISO C++ 2017 with amendments''ISO C++ 2017 with amendments'note: 'gnu++17' : for 'gnu++17'standardstandarduse for use 'ISO C++ 2017 with amendments' for 'gnu++17' 'ISO C++ 2017 with amendments and GNU extensions' 'gnu++17' standard 'ISO C++ 2017 with amendments and GNU extensions'notenote forstandard : : for standard 'ISO C++ 2017 with amendments and GNU extensions' useuse'ISO C++ 2017 with amendments and GNU extensions' note standard: note'gnu++17''gnu++17'standard: note use: forfor use note'gnu++17' use'ISO C++ 2017 with amendments and GNU extensions''ISO C++ 2017 with amendments and GNU extensions'note: 'c++2a' : for 'c++2a'standardstandarduse for use 'ISO C++ 2017 with amendments and GNU extensions' for 'c++2a' 'Working draft for ISO C++ 2020' 'c++2a' standard 'Working draft for ISO C++ 2020'notenote forstandard : : for standard 'Working draft for ISO C++ 2020' useuse'Working draft for ISO C++ 2020' note standard: note'c++2a''c++2a'standard: note use: forfor use note'c++2a' use'Working draft for ISO C++ 2020''Working draft for ISO C++ 2020'note: 'gnu++2a' : for 'gnu++2a'standardstandarduse for use 'Working draft for ISO C++ 2020' for 'gnu++2a' 'Working draft for ISO C++ 2020 with GNU extensions' 'gnu++2a' standard 'Working draft for ISO C++ 2020 with GNU extensions'notenote forstandard : : for standard 'Working draft for ISO C++ 2020 with GNU extensions' useuse'Working draft for ISO C++ 2020 with GNU extensions' notegmake: *** [Makefile:113: OBJDIR/BattleArena.o] Error 1 standard: gmake: *** Waiting for unfinished jobs.... 'gnu++2a''gnu++2a'standardgmake: *** [Makefile:113: OBJDIR/FSM.o] Error 1 useforfor gmake: *** [Makefile:113: OBJDIR/MarkImage.o] Error 1 gmake: *** [Makefile:113: OBJDIR/MarkConvert.o] Error 1 'gnu++2a''Working draft for ISO C++ 2020 with GNU extensions''Working draft for ISO C++ 2020 with GNU extensions' forstandardstandard 'Working draft for ISO C++ 2020 with GNU extensions' gmake: *** [Makefile:113: OBJDIR/MarkManager.o] Error 1 standardgmake: *** [Makefile:113: OBJDIR/OXEvent.o] Error 1 gmake: *** [Makefile:113: OBJDIR/TrafficProfiler.o] Error 1 root@black:/usr/home/black/GameSRC/Server/game/src # Edited November 11, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
porexemplo 13 Posted November 11, 2023 Share Posted November 11, 2023 What I get is a problem with cryptopp, missing the link to the lib. Try to gmake cryptopp gain. Link to comment Share on other sites More sharing options...
kabstyle34 0 Posted April 8 Share Posted April 8 thank you i have looking for this Link to comment Share on other sites More sharing options...
Recommended Posts