aws-samples / amazon-kinesis-video-streams-producer-embedded-c

Light-wight Amazon Kinesis Video Streams Producer SDK For FreeRTOS/Embedded Linux
Apache License 2.0
27 stars 17 forks source link

libwebsockets Build error #84

Open zhangshouyin opened 6 months ago

zhangshouyin commented 6 months ago

[ 66%] Performing build step for 'project_libwebsockets' [ 0%] Creating build include dir [ 0%] Built target GENHDR [ 1%] Building C object lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o In file included from /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libwebsockets/build/src/project_libwebsockets/lib/core/./private-lib-core.h:140:0, from /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libwebsockets/build/src/project_libwebsockets/lib/plat/unix/unix-caps.c:28: /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libwebsockets/build/src/project_libwebsockets/include/libwebsockets.h:287:25: fatal error: mbedtls/ssl.h: No such file or directory compilation terminated. gmake[5]: [lib/CMakeFiles/websockets.dir/build.make:76: lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o] Error 1 gmake[4]: [CMakeFiles/Makefile2:3286: lib/CMakeFiles/websockets.dir/all] Error 2 gmake[3]: [Makefile:166: all] Error 2 gmake[2]: [CMakeFiles/project_libwebsockets.dir/build.make:87: build/src/project_libwebsockets-stamp/project_libwebsockets-build] Error 2 gmake[1]: [CMakeFiles/Makefile2:83: CMakeFiles/project_libwebsockets.dir/all] Error 2 gmake: [Makefile:91: all] Error 2

Screenshots WeChat8a55106a30befd233699ee782665df16

Environments (please complete the following information):