Skip to content
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

Closed
gcoop opened this issue Dec 3, 2017 · 25 comments
Closed

CMake Error "does not appear to contain CMakeLists.txt" #5

gcoop opened this issue Dec 3, 2017 · 25 comments

Comments

@gcoop
Copy link

gcoop commented Dec 3, 2017

FYI:

Whilst executing ./kinesis-video-native-build/install-script I got the following error CMake 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.

@MushMal
Copy link
Contributor

MushMal commented Dec 3, 2017

I am wondering whether you executed ./install-script from within the kinesis-video-native-build directory?

@gcoop
Copy link
Author

gcoop commented Dec 4, 2017

No I executed it from the repo root. That's probably why it couldn't locate CMakeLists.txt.

@MushMal MushMal closed this as completed Dec 4, 2017
@enusbaum
Copy link

enusbaum commented Mar 4, 2018

I'm having this issues on my rpi while following the tutorial at

https://s3-us-west-2.amazonaws.com/kinesis-video-streaming/kinesis-video-raspberry-pi-getting-started.pdf

@zhiyua-git
Copy link
Contributor

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,
-ZH

@zzzhacker
Copy link

Yeah correct that in guide please maybe many facing the same issue like this following guide like me.

@MushMal
Copy link
Contributor

MushMal commented Mar 22, 2018

Apologies again. Please feel free to reach out for any question no matter how small or obvious those are.

@triggerx
Copy link

triggerx commented Jun 4, 2018

Guide is still not updated... what's the deal?

@hussamsayeed
Copy link

$ cd kinesis-video-native-build; ./min-install-script
bash: cd: kinesis-video-native-build: No such file or directory
./min-install-script: line 15: /home/Hussam: No such file or directory

this is the error raising while Building the Kinesis Video Streams Producer SDK using min-install-script.. Anyone please help me out!

@MushMal
Copy link
Contributor

MushMal commented Sep 25, 2019

@hussamsayeed you need to navigate to the SDK directory in the terminal and then navigate down to the native build directory by calling cd kinesis-video-native-build

@hussamsayeed
Copy link

Screenshot (240)
I already did that.[can see in Screenshot]

@zhiyua-git
Copy link
Contributor

@hussamsayeed
Copy link

Should I replace that code with the code which is there in those links?

@hussamsayeed
Copy link

hussamsayeed commented Sep 25, 2019

Hussam Sayeed@DESKTOP-6TJVREH MINGW64 ~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build
$ ./min-install-script
Setting up for KVS Producer SDK installation
Current working path cannot have space in it !

@zhiyua-git after replacing $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" this error is raised

@zhiyua-git
Copy link
Contributor

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.

@hussamsayeed
Copy link

I changed the path and it works. thank you for the support @zhiyua-git
Screenshot (242)
Screenshot (243)

but the problem is segmentation failed[attached].
I followed the this documentation [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md]

Can anyone please help me out!

@zhiyua-git
Copy link
Contributor

@hussamsayeed , you need to put in your actual AccessKey/SecretKey in
export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
to run it.

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

@hussamsayeed
Copy link

@zhiyua-git thank you so much for the suppport!
yeah i gave the actual access keys and also configured the permisiions.. still the same error!!!!!

@zhiyua-git
Copy link
Contributor

@hussamsayeed Can you provide the log for the failure? Thanks.

@hussamsayeed
Copy link

@zhiyua-git Yeah.. attached the log for the failure.
Screenshot (245)

@zhiyua-git
Copy link
Contributor

@hussamsayeed , what command did you run? Sample app or gstreamer plugin kvs-sink? Can you provide log with export GST_DEBUG=4? Thanks.

@hussamsayeed
Copy link

@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
] even after i've changed with my aws keys.

@zhiyua-git
Copy link
Contributor

@hussamsayeed, Can you provide log with export GST_DEBUG=4? Thanks.

@hussamsayeed
Copy link

@zhiyua-git [attached
Screenshot (275)
Screenshot (276)

]

@chehefen
Copy link
Contributor

chehefen commented Oct 4, 2019

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.

@hussamsayeed
Copy link

Thank you so much @zhiyua-git @chehefen for the support. I got the output in the kinesis streams!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants