schwabe / ics-openvpn

OpenVPN for Android
3.29k stars 1.19k forks source link

CMakeLists.txt #1653

Closed badhon1 closed 10 months ago

badhon1 commented 10 months ago

To make issues more manageable, I would appreciate it if you fill out the following details as applicable:

Description of the issue

32 line --include(openssl/openssl.cmake)

41 line -- FIND_PACKAGE(SWIG 3.0 REQUIRED)

I don't understand what the problem is here

Log (if applicable)


log contents
> Task :main:configureCMakeDebug[x86_64] FAILED
C/C++: OpenVPN 2.x version HEAD-HASH-NOTFOUND
C/C++: OpenVPN 3.x version HEAD-HASH-NOTFOUND
C/C++: CMake Error at CMakeLists.txt:32 (include):
C/C++:   include could not find requested file:
C/C++:     openssl/openssl.cmake
C/C++: CMake Error at C:/Users/Rubel/AppData/Local/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
C/C++:   Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
C/C++:   least version "3.0")
C/C++: Call Stack (most recent call first):
C/C++:   C:/Users/Rubel/AppData/Local/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C/C++:   C:/Users/Rubel/AppData/Local/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindSWIG.cmake:153 (find_package_handle_standard_args)
C/C++:   CMakeLists.txt:41 (FIND_PACKAGE)
schwabe commented 10 months ago

See the other issues that already reported that issue. You did not check out the submodules.