• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling 'libxml/xmlmemory.h': No such file or directory

Rankret

New Member
Joined
Apr 14, 2023
Messages
14
Reaction score
0
Ayuda:
TFS 1.2
Visual Studio 15
Impulso 1.6.0
kit de desarrollo de software 3.2
descargar
Post automatically merged:

1732831028192.webp1732831065088.webp1732831094043.webp
 
no vcpkg?
Walking Glancing GIF
 
no vcpkg?
vcpkg was added in TFS 1.4 and even if it was in TFS 1.2, it would not work now. This would require installing 7-year vcpkg commit, which is impossible (vcpkg does not store packages on own servers and some packages hosts go offline after few months/years).

@Rankret You got almost no chance to collect all required C++ libraries on Windows. If you really want to compile that engine use Linux or run Linux on Windows using WSL2 and docker (ex. my configuration Windows - Linux Running on Windows (https://otland.net/threads/linux-running-on-windows.274039/#post-2697015) ). For TFS 1.2 you will need some Linux from ~2017, maybe Ubuntu 18.04/20.04 will work.
 
vcpkg was added in TFS 1.4 and even if it was in TFS 1.2, it would not work now. This would require installing 7-year vcpkg commit, which is impossible (vcpkg does not store packages on own servers and some packages hosts go offline after few months/years).

@Rankret You got almost no chance to collect all required C++ libraries on Windows. If you really want to compile that engine use Linux or run Linux on Windows using WSL2 and docker (ex. my configuration Windows - Linux Running on Windows (https://otland.net/threads/linux-running-on-windows.274039/#post-2697015) ). For TFS 1.2 you will need some Linux from ~2017, maybe Ubuntu 18.04/20.04 will work.

Is it hard to edit the source to make them work with new/latest vcpkg?
 
Ayuda:
TFS 1.2
Visual Studio 15
Impulso 1.6.0
kit de desarrollo de software 3.2
descargar
Post automatically merged:

View attachment 88586View attachment 88587View attachment 88588
here you have the correct guide
 
Is it hard to edit the source to make them work with new/latest vcpkg?
TFS 1.2 will probably work with same vcpkg commit as 1.6. Maybe some changes will be required to make code compile using new C++ version - the same problem is with compiling 1.2 on modern linux and new g++, but it's easy to fix (known problems and fixes: [C++/Linux] Compiling old engine (sources) on Debian 10 / Ubuntu 20.04 (https://otland.net/threads/c-linux-compiling-old-engine-sources-on-debian-10-ubuntu-20-04.274654/) ).

Problem is that TFS 1.2 uses other C++ libraries than new TFS ex. gmp is not used anymore, now TFS uses crypto++ for encryption, so you got to update encryption code in C++ or edit CMakeLists/VisualStudio/vcpkg to make it load gmp.
It's not very hard to fix, but it can take hours. You start compilation, wait seconds-minutes until it get to some error, try to fix it, start compilation again...
 
vcpkg was added in TFS 1.4 and even if it was in TFS 1.2, it would not work now. This would require installing 7-year vcpkg commit, which is impossible (vcpkg does not store packages on own servers and some packages hosts go offline after few months/years).

@Rankret You got almost no chance to collect all required C++ libraries on Windows. If you really want to compile that engine use Linux or run Linux on Windows using WSL2 and docker (ex. my configuration Windows - Linux Running on Windows (https://otland.net/threads/linux-running-on-windows.274039/#post-2697015) ). For TFS 1.2 you will need some Linux from ~2017, maybe Ubuntu 18.04/20.04 will work.
but ubuntu 18.04 and 20.04 uses outdated php and other repos so ur risking ur machine getting attacked if there is any issues with older dependencies especially php
 
but ubuntu 18.04 and 20.04 uses outdated php and other repos so ur risking ur machine getting attacked if there is any issues with older dependencies especially php
That's why you may want to run it inside docker. Your server system can be Ubuntu 24.04 and TFS may compile and run inside Ubuntu 18.04 container.
With docker-compose running on Linux - it does not work on Windows - you can set docker container network to use host network interface, with this setting TFS running inside docker container will bind hosting linux 7171/7172 ports and it will be able to connect to mysql using 127.0.0.1:3306 (to MySQL running on Ubuntu 24.04, not inside container).
 
Back
Top