-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Error "does not appear to contain CMakeLists.txt" #5
Comments
I am wondering whether you executed ./install-script from within the kinesis-video-native-build directory? |
No I executed it from the repo root. That's probably why it couldn't locate |
I'm having this issues on my rpi while following the tutorial at |
Hi enusbaum, Please change directory to kinesis-video-native-build and run install-script from there. cd kinesis-video-native-build; ./install-script We will also fix that on installation guide soon. Thanks, |
Yeah correct that in guide please maybe many facing the same issue like this following guide like me. |
Apologies again. Please feel free to reach out for any question no matter how small or obvious those are. |
Guide is still not updated... what's the deal? |
$ cd kinesis-video-native-build; ./min-install-script this is the error raising while Building the Kinesis Video Streams Producer SDK using min-install-script.. Anyone please help me out! |
@hussamsayeed you need to navigate to the SDK directory in the terminal and then navigate down to the native build directory by calling |
Your user name contains space. The script was not able to handle the path, can you replace $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" in these two places and retry? https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-native-build/min-install-script#L15 |
Should I replace that code with the code which is there in those links? |
Hussam Sayeed@DESKTOP-6TJVREH MINGW64 ~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build @zhiyua-git after replacing $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" this error is raised |
Hi @hussamsayeed , Seems mingw doesn't support space in the path. Can you either try to install your mingw into directory which contains no space in the path or use the short (8.3) name as mentioned here? You can do export KINESIS_VIDEO_ROOT="/Your/Updated/Path" and rerun the min-install-script. |
I changed the path and it works. thank you for the support @zhiyua-git but the problem is segmentation failed[attached]. Can anyone please help me out! |
@hussamsayeed , you need to put in your actual AccessKey/SecretKey in Also make sure you have configured proper Kinesis Video Streams permission for the role of AccessKey/SecretKey you are going to use. It can be as simple as adding AmazonKinesisVideoStreamsFullAccess policy to your role. https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-iam.html |
@zhiyua-git thank you so much for the suppport! |
@hussamsayeed Can you provide the log for the failure? Thanks. |
@zhiyua-git Yeah.. attached the log for the failure. |
@hussamsayeed , what command did you run? Sample app or gstreamer plugin kvs-sink? Can you provide log with export GST_DEBUG=4? Thanks. |
@zhiyua-git I'm following this document [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md] So when running the sample app im getting the error.[gst-launch-1.0 ksvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! x264enc bframes=0 key-int-max=45 bitrate=512 tune=zerolatency ! video/x-h264,profile=baseline,stream-format=avc,alignment=au ! kvssink stream-name=stream-name access-key=YOUR_ACCESS_KEY secret-key=YOUR_SECRET_ACCESS_KEY_ID |
@hussamsayeed, Can you provide log with export GST_DEBUG=4? Thanks. |
@zhiyua-git [attached ] |
can you copy libcproducer.dll and libproducer.dll to C:\msys64\mingw64\bin and copy libgstkvssink.dll to C:\msys64\mingw64\lib\gstreamer-1.0 and make sure you are not exporting GST_PLUGIN_PATH. Then try your pipeline again. |
Thank you so much @zhiyua-git @chehefen for the support. I got the output in the kinesis streams!! |
FYI:
Whilst executing
./kinesis-video-native-build/install-script
I got the following errorCMake Error: The source directory "/Users/Gavin/repos/thirdparty/amazon-kinesis-video-streams-producer-sdk-cpp" does not appear to contain CMakeLists.txt.
. To resolve I moved CMakeLists.txt from kinesis-video-native-build to root of repo. Updated the src paths in CMakeLists.txt to match new locations and reran the command to resolve the issue.The text was updated successfully, but these errors were encountered: