Cross-Compilation on WSL Ubuntu24.04 for i.Mx8M Mini / aarch64 #2060
Replies: 3 comments
-
In continuation to above issue, Adding few more dependency in cmake command. Command: Error Logs: -- Configuring incomplete, errors occurred! **Additional Comment: ** |
Beta Was this translation helpful? Give feedback.
-
I am able to Cross-compile C SDK using the Ubuntu 20.04 the above issue is resolved. |
Beta Was this translation helpful? Give feedback.
-
Facing issue in compiling G-streamer examples. Packages installed: Error Encountered: **System: ** Ubuntu 20.04 **Exported Variables: ** **commands used for compilation: ** Success CMake Logs:
-- Build files have been written to: /home/kk/amazon-kinesis-video-streams-webrtc-sdk-c/build **Error Logs: ** |
Beta Was this translation helpful? Give feedback.
-
I am using the "amazon-kinesis-video-streams-webrtc-sdk-c" trying to cross-compile it for aarch64, following changes are done before cross-compilation.
following parameters are set in CMakeList.txt, All the pre-requisites are already installed.
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR aarch64)
SET(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
Also, Above content is added to file "CMake/Toolchain-aarch64.cmake"
Compiling using below command: (There are other commands but let's first discuss the simple command. another option I tried are providing the path to OpenSSL and SRTP (library, include, etc.)
cmake .. -DCMAKE_TOOLCHAIN_FILE=../CMake/Toolchain-aarch64.cmake
Getting the below issue:
Beta Was this translation helpful? Give feedback.
All reactions