Skip to content
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

Windows support #1

Open
Kartatz opened this issue Sep 24, 2023 · 0 comments
Open

Windows support #1

Kartatz opened this issue Sep 24, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Kartatz
Copy link
Contributor

Kartatz commented Sep 24, 2023

Trying to cross-compile to Windows fails with the following error:

-- The C compiler identification is Clang 17.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /root/llvm-mingw-20230919-msvcrt-ubuntu-20.04-x86_64/bin/x86_64-w64-mingw32-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- curl version=[8.1.1-DEV]
-- Could NOT find Perl (missing: PERL_EXECUTABLE) 
-- Looking for getch in ws2_32;
-- Looking for getch in ws2_32; - found
-- Looking for getch in winmm;ws2_32
-- Looking for getch in winmm;ws2_32 - found
-- Performing Test HAVE_MINGW_ORIGINAL
-- Performing Test HAVE_MINGW_ORIGINAL - Failed
CMake Error at /usr/share/cmake-3.26/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) (found
  version "")
Call Stack (most recent call first):
  /usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.26/Modules/FindOpenSSL.cmake:670 (find_package_handle_standard_args)
  submodules/curl/CMakeLists.txt:428 (find_package)
-- Configuring incomplete, errors occurred!

It seems that CMake is complaing about a missing variable:

missing: OPENSSL_CRYPTO_LIBRARY

But this variable is already defined at CMakeLists.txt:102.

Currently, this is the only issue blocking Kad from supporting Windows.

@Kartatz Kartatz added the help wanted Extra attention is needed label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant