Code Monkey home page Code Monkey logo

Comments (7)

Codinablack avatar Codinablack commented on September 24, 2024

This was due to Crypto Dropping CMake support. TFS dropped Crypto in favor of SSL. I would suggest downloading latest from the main branch and trying again, as this was changed only two days ago.

from forgottenserver.

jprzimba avatar jprzimba commented on September 24, 2024

when I go Visual Studio->Open Local Folder-> and open directory "forgottenserver" i get this error
following compiling tutorial and inslled packages again
error changed to
Severity Code Description Project File Line Suppression State Details
Error CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR Crypto) (Required is at least version "3.0.0") C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake 230

Maybe need to update this tutorial https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29

from forgottenserver.

EvilHero90 avatar EvilHero90 commented on September 24, 2024

Maybe need to update this tutorial https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29

The Wiki page for vcpkg was already updated, I updated it with the PR that changed from cryptopp to openssl
Open your cmd and navigate to your vcpkg directory, then run vcpkg install openssl:x64-windows that should install openssl

from forgottenserver.

jprzimba avatar jprzimba commented on September 24, 2024
C:\vcpkg>vcpkg install openssl:x64-windows
Computing installation plan...
The following packages are already installed:
    openssl:[email protected]
openssl:x64-windows is already installed
Total install time: 155 us
openssl is compatible with built-in CMake targets:

  find_package(OpenSSL REQUIRED)
  target_link_libraries(main PRIVATE OpenSSL::SSL)
  target_link_libraries(main PRIVATE OpenSSL::Crypto)
  

but error still there

from forgottenserver.

EvilHero90 avatar EvilHero90 commented on September 24, 2024

Maybe you have somewhere a duplicated vcpkg installation which is the one linked with vc thus throwing the error that it cannot be found, you should probably check that

from forgottenserver.

MatthewCollard avatar MatthewCollard commented on September 24, 2024

Hi, I compiled the latest master fine, but does it support 10.98? Can't seem to get it to work with it, I changed the required version in the config, I just get stuck on an infinite loading screen.

from forgottenserver.

EPuncker avatar EPuncker commented on September 24, 2024

Hi, I compiled the latest master fine, but does it support 10.98? Can't seem to get it to work with it, I changed the required version in the config, I just get stuck on an infinite loading screen.

no, master doesn't support 10.98, it is 13.10

and no, changing these lines alone is not enought to change protocol

from forgottenserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.