New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS 2017+vcpkg compiling update #1073
Comments
You are god's sent. I've spent 4 hours trying to compile OTClient with fails everywhere, both on windows and linux... This was literally the entire issue in errors! Although, where is the LUA part? what file as I cant find it anywhere in VS. Edit: That solved it, found the files by just building and going to the line that the error said - Thank you! |
Thank you @Fenrisus, it worked with Visual Studio 2019 as well. |
where should i edit for the lua part? @renancavalieri @Fenrisus |
@Felipe21 I confirm VS 2019 works too, i mean the easiest way is to compile then in errors it will point you to the file and you just change it there. if you want to find the specific file. In VS 2019 open the |
i'll check , thanks you @deviljin112 |
example i found this libtlib.cpp extern "C" { nothing like fenrisus posted |
Please use EDIT next time :) Not my repo but its a good practice to have :D anyway, Fenrisus didnt post the entire file because its too big instead he summarised the lines you need to change. So just change what he stated into what it should be regardless of how the file is built. Find it => Replace it. Simple as that. |
@TheSumm Writing here because this seems to be the current open issue on the topic, and tagging you because you implemented the lastest fix on vcpkg compiling. To build with the sources as of 28/12/2023, apart from installing the libraries mentioned in the tutorial (https://github.com/edubart/otclient/wiki/Compiling-on-Windows#microsoft-visual-studio-2017-with-vcpkg) and doing the changes in the Lua libraries that @Fenrisus explained, I also had to install With that I was able to build using Visual Studio 2022 (v143) |
Hello there. It's kinda outdated right now.
If someone has issues with compiling at Visual Studio 2017 +vcpkg manager here the little things, that you should to fix.
Well, let's go.
Since version 1.1.0 OpenSSL have changed their library names from:
libeay32.dll -> libcrypto.dll
ssleay32.dll -> libssl.dll
settings.props file should looks like that:
Next statement is LUA;
around the code, instead of
use luajit
Done, it's compiles fine with Visual Studio 2017 and vcpkg.
Tested latest sources at 20/03/2020
The text was updated successfully, but these errors were encountered: