edubart / otclient

An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
640 stars 402 forks source link

Error while compiling on windows #1189

Closed themaoci closed 1 year ago

themaoci commented 2 years ago

Steps to reproduce (include any configuration/script required to reproduce)

  1. Follow github tutorial for windows compilation "Microsoft Visual Studio 2017 with vcpkg"

Expected behaviour

compiling properly

Actual behaviour

throwing error C1083 Cannot open include file: 'openssl/rsa.h': No such file or directory Tibia\otclient\src\framework\util Tibia\otclient\src\framework\util\crypt.cpp line 36 col 10

Environment

OTC latest commit fc39ee4adba8e780a2820bfda66fc942d74cedf4

themaoci commented 2 years ago

found out that this is missing OpenSSL-1.0.2j

but after adding it in as openssl in includes and also 2 lib files this started to pop up obraz

themaoci commented 1 year ago

fixed it by doing this in vcpkg folder (for Release x64 version)

vcpkg install openssl-windows:x64-windows