KVS ingestion from RTSP cameras a Kinesis Video Streams tutorial | Amazon Web Services

0

on following the above video , after enterking the command cmake . . -DBUILD_GSTREAMER_PLUGIN=ON it is giving the error 'the source directory doesnt appear to contain CMakeLists.txt . But i have already cloned the git repo of this and have CMakeLists.txt in my amazon kinesis video stream file. Pls help w this. Assuming that the error might exist bcz the CMakeLists.txt already exist and on further executing the command 'make' I am getting an error 'No targets specified and no makefile found'. Pls help me out with this.

asked 2 months ago2510 views
1 Answer
1

Hello,

please try this solution it will be helpful for you.

To build the Kinesis Video Streams ingestion application using CMake, start by cloning the repository to your local machine. Once cloned, navigate to the directory containing the repository in your terminal or command prompt. From there, configure the build using CMake by running the command cmake . -DBUILD_GSTREAMER_PLUGIN=ON. This command sets up the build process and enables the GStreamer plugin option. After configuring the build, initiate the build process by executing the make command. This command compiles the source code and generates the necessary binaries or libraries for the application. If any errors occur during the build process, carefully read the error messages to identify the issue. Common issues may include missing dependencies or incorrect configurations.

please look at AWS Document you will get more information.

https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-rtsp.html

https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples.html

https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/getting-started.html

EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
  • this is the error that i am getting and configure failed. I think there is some wrong with the dependency. CMake Error at dependency/libkvscproducer/kvscproducer-src/CMake/Utilities.cmake:93 (message): CMake step for libopenssl failed: 2 Call Stack (most recent call first): dependency/libkvscproducer/kvscproducer-src/CMakeLists.txt:74 (build_dependency) can you please help me with it.

  • Hi Creatara,

    please try this commands you can copy and paste into your terminal, adjusted for your operating system.

    sudo apt-get update sudo apt-get install libssl-dev rm -rf build mkdir build cd build cmake -DOPENSSL_ROOT_DIR=/usr -DOPENSSL_LIBRARIES=/usr/lib/x86_64-linux-gnu .. make

    OpenSSL Paths: Adjust the paths (OPENSSL_ROOT_DIR and OPENSSL_LIBRARIES) as needed depending on where OpenSSL is installed on your system.

    Dependencies: Make sure all other dependencies required by your project are installed.