-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
I've play around with this repo using my mac on macOS 13 without any trouble a month ago.
And now I wanted to give it another go using my older Mac stuck on macOS 12.6 and I can't cmake .
anymore. Didn't tried on my most recent Mac running Ventura to see if it still can compile the lib but it would be strange if that would be the case. I didn't see any version limitation of this lib for macOS versions.
cmake mbedtls and openssl are installed
➜ ~ brew install cmake mbedtls openssl
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: cmake 3.27.0 is already installed and up-to-date.
To reinstall 3.27.0, run:
brew reinstall cmake
Warning: mbedtls 3.4.0 is already installed and up-to-date.
To reinstall 3.4.0, run:
brew reinstall mbedtls
Warning: openssl@3 3.1.1_1 is already installed and up-to-date.
To reinstall 3.1.1_1, run:
brew reinstall openssl@3
cmake output:
➜ Anjay git:(master) cmake .
-- Looking for dlsym() in library:
-- Looking for dlsym
-- Looking for dlsym - found
-- Checking if IN6_IS_ADDR_V4MAPPED is usable - yes
-- DTLS backend: mbedtls
CMake Warning (dev) at deps/avs_commons/CMakeLists.txt:167 (set):
implicitly converting 'INTEGER' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking if IN6_IS_ADDR_V4MAPPED is usable - yes
-- Could NOT find MbedTLS (missing: MBEDTLS_INCLUDE_DIR MBEDTLS_LIBRARY MBEDTLS_CRYPTO_LIBRARY MBEDTLS_X509_LIBRARY MBEDTLS_LIBRARIES MBEDTLS_VERSION)
-- Could NOT find TinyDTLS (missing: TINYDTLS_INCLUDE_DIR TINYDTLS_LIBRARIES TINYDTLS_VERSION)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
CMake Error in CMakeLists.txt:
Target "avs_coap" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in CMakeLists.txt:
Target "avs_coap" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_commons/src/net/CMakeLists.txt:
Target "avs_crypto_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_commons/src/net/CMakeLists.txt:
Target "avs_crypto_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_commons/src/stream/md5/CMakeLists.txt:
Target "avs_crypto_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_commons/src/stream/md5/CMakeLists.txt:
Target "avs_crypto_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_commons/src/crypto/CMakeLists.txt:
Imported target "mbedtls" includes non-existent path
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in deps/avs_commons/src/crypto/CMakeLists.txt:
Imported target "mbedtls" includes non-existent path
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in deps/avs_coap/CMakeLists.txt:
Target "avs_net_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in deps/avs_coap/CMakeLists.txt:
Target "avs_net_mbedtls" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in demo/CMakeLists.txt:
Target "anjay" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
CMake Error in demo/CMakeLists.txt:
Target "anjay" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Metadata
Metadata
Assignees
Labels
No labels