-
Notifications
You must be signed in to change notification settings - Fork 352
Description
Please confirm you have already done the following
- I have searched the repository for related/existing bug reports
- I have all the details the issue requires
Please answer the following prompt
- This issue is replicable using the unmodified sample application
Describe the bug
Details of the bug provided here in the discussion
Expected Behavior
Successfully cross-compiled for i.MX8M Mini
Current Behavior
Compilation errors, Few dependencies / files not present.
Reproduction Steps
Added the below to CMakeLists.txt
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++)
WebRTC C SDK version being used
v1.11.0
If it was working in a previous version, which one?
No
Compiler and Version used
aarch64-gemini-linux-gnu-gcc : 9.3.0, gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, clang version 18.1.3 ,
Operating System and version
Ubuntu 24.04 on WSL (5.15.153.1-microsoft-standard-WSL2)
Platform being used
i.MX8M mini
###Error Logs
-- Build files have been written to: /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download-build
[ 66%] Performing build step for 'libkvsCommonLws-download'
[ 7%] Building C object CMakeFiles/kvsCommonLws.dir/src/source/Common/Auth.c.o
In file included from /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/source/Common/Include_i.h:47,
from /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/source/Common/Auth.c:5:
/home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/include/com/amazonaws/kinesis/video/common/Include.h:16:10: fatal error: com/amazonaws/kinesis/video/client/Include.h: No such file or directory
16 | #include <com/amazonaws/kinesis/video/client/Include.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[5]: *** [CMakeFiles/kvsCommonLws.dir/build.make:76: CMakeFiles/kvsCommonLws.dir/src/source/Common/Auth.c.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/kvsCommonLws.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2
gmake[2]: *** [CMakeFiles/libkvsCommonLws-download.dir/build.make:87: build/src/libkvsCommonLws-download-stamp/libkvsCommonLws-download-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/libkvsCommonLws-download.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
CMake Error at CMake/Utilities.cmake:75 (message):
CMake step for libkvsCommonLws failed: 2
Call Stack (most recent call first):
CMakeLists.txt:265 (build_dependency)
-- Configuring incomplete, errors occurred!