Hey guys, I have been trying to compile TFS for a long time now with no success.
I first tried to compile the optimized_forgottenserver with the regular visual studio way but I ran into a ton of issues. I fixed almost all them but there was one I couldn't fix: cannot open input 'mpir.lib'. I downloaded this lib but I don't know how to compile it.
Then I tried to compile the regular tfs server, for this one I actually went with docker because the visual studio way was giving me a lua.hpp issue and I was tired of trying to fix the local environment. I was able to build the Docker image but when I run it, it says it couldn't connect to MySQL server. I would like the database to also be included in the image, how would I go about that?
Also, I am using WSL 2 and building the image in the ubuntu side of things. I believe my client would be able to access the port opened by the image without an issue? Since it's localhost.
I first tried to compile the optimized_forgottenserver with the regular visual studio way but I ran into a ton of issues. I fixed almost all them but there was one I couldn't fix: cannot open input 'mpir.lib'. I downloaded this lib but I don't know how to compile it.
Then I tried to compile the regular tfs server, for this one I actually went with docker because the visual studio way was giving me a lua.hpp issue and I was tired of trying to fix the local environment. I was able to build the Docker image but when I run it, it says it couldn't connect to MySQL server. I would like the database to also be included in the image, how would I go about that?
Also, I am using WSL 2 and building the image in the ubuntu side of things. I believe my client would be able to access the port opened by the image without an issue? Since it's localhost.