-
Notifications
You must be signed in to change notification settings - Fork 4
Openssl could not find Error - Cross-compiling #6
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
Comments
Which system do you use? Works with CI and my test systems. Are there any openssl compile errors? |
System Info : Attached the openssl logs (make openssl) |
can you check if your openssl dir is in the list of ROOT_PATH variable? https://github.com/baresip/baresip-win32/blob/main/cmake/mingw-w64-x86_64.cmake#L17 |
I am having this same issue: Heres the log I see. /usr/x86_64-w64-mingw32/home/user/source/baresip-win32/re/../openssl/home/user/source/baresip-win32/re/../re/build/home/user/source/baresip-win32/re/../rem/build -- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR) -- Configuring incomplete, errors occurred! |
It may also be neat if you had a pre-generated version available for download through github as well. |
I also recommend a precompiled windows binary in github |
Have the same Problem on Ubuntu "Jammy": `-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR) -- Generating done |
How does |
The libraries libcrypto.a & libssl.a generated in openssl folder using 'make openssl' command
Got below errors in 'make' command
Error Log :
j@LAP3U:~/baresip_win32/baresip-win32$ make
cmake
-S re
-B re/build
-DCMAKE_TOOLCHAIN_FILE=/home/j/baresip_win32/baresip-win32/cmake/mingw-w64-x86_64.cmake
-DOPENSSL_ROOT_DIR=/home/j/baresip_win32/baresip-win32/openssl
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- 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 "1.1.1m")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_EAY (ADVANCED)
linked by target "re" in directory /home/j/baresip_win32/baresip-win32/re
linked by target "re-shared" in directory /home/j/baresip_win32/baresip-win32/re
SSL_EAY (ADVANCED)
linked by target "re" in directory /home/j/baresip_win32/baresip-win32/re
linked by target "re-shared" in directory /home/j/baresip_win32/baresip-win32/re
-- Configuring incomplete, errors occurred!
See also "/home/j/baresip_win32/baresip-win32/re/build/CMakeFiles/CMakeOutput.log".
See also "/home/j/baresip_win32/baresip-win32/re/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:104: libre.a] Error 1
The text was updated successfully, but these errors were encountered: