Open leolion3 opened 2 months ago
the gcc default is dependent more on the distribution you are on and less what is on build essentials. A more accurate fix would be to have the user just install gcc-10 however they need to on their platform, which for some is just gcc and for others is the more complicated steps above due to the published package being too old for that distribution.
the gcc default is dependent more on the distribution you are on and less what is on build essentials. A more accurate fix would be to have the user just install gcc-10 however they need to on their platform, which for some is just gcc and for others is the more complicated steps above due to the published package being too old for that distribution.
either way would be good to reference it. I updated to the latest server version and couldnt rebuild and spent an hour looking for the problem until I found a reference that the said <span>
lib import is not available and another hour trying to install g++10 on my oracle VM running Ubuntu 22.04. So I thought Id just leave the entire code as a reference.
Edit: following the basic install instructions makes you end up with a gcc version of 9.x which isnt enough.
Make sure you've done the following:
[X] I have checked that this issue has not already been reported.
[X] I have validated that the documentation is wrong or missing on the latest version of the main branch of DarkflameServer
Location of the documentation
https://github.com/DarkflameUniverse/DarkflameServer/blob/main/README.md
Documentation problem
The documentation is missing the fact that recent server versions require a gcc version of 10 to compile, since
<span>
is not part of the standard library in gcc 9.Suggested fix for documentation
Change as required: