What engine are you compiling? It looks like
GitHub - Open-Games-Community/Hellgrave-RPG-v6.0: Hellgrave RPG v6.0 (https://github.com/Open-Games-Community/Hellgrave-RPG-v6.0)
You won't compile that engine - at least without a lot of work - because author did not prepare any working compilation project.
CMakeLists.txt is only configured to work with
vcpkg (cannot compile with Linux native libraries) and
vcpkg.json does not containt
build-baseline line, so vcpkg cannot know which version of vcpkg this project expects (there are 24.124 versions of vcpkg!) and tries to use newest, which is not compatible.
If you are looking for clean 1.4 that compiles, you can use my branch
compilation which is TFS 1.4 with few extra (optional) features and compilation projects updated for newest Linux and Windows:
GitHub - gesior/forgottenserver-gesior at compilation (https://github.com/gesior/forgottenserver-gesior/tree/compilation)