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 : #1

Closed
anandpanchal opened this issue Dec 1, 2017 · 13 comments
Closed

cmake error : #1

anandpanchal opened this issue Dec 1, 2017 · 13 comments

Comments

@anandpanchal
Copy link

hi everyone,

im building the environment using ./install-script-mac.
this is giving error like makefile recipe for target all failed.
hardware used : raspberry pi3
sdk used : c++

please help me.

Thanks

@MushMal
Copy link
Contributor

MushMal commented Dec 1, 2017

Dear Anand,

The script is currently supporting Mac OS v 10.12.4 and above. The main purpose of the script is to pull down and build the open source dependencies for the C++ SDK and the samples it includes. The core or the SDK build is based on cmake with the main build file (CMakeList.txt) located in amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/ directory.

We will be updating the script for Linux based systems shortly.

Kindest regards!

@anandpanchal
Copy link
Author

thank you so much sir. any alternative ?

@MushMal
Copy link
Contributor

MushMal commented Dec 1, 2017

Update the install script for Ubuntu based systems. As I mentioned, the core SDK build is cmake based. If you have all the dependencies in your system you can modify the CMakeList.txt in the kinesis-video-native-build directory to remove the locally built references to build against your system versions.

This said, please give the instal script a try.

@MushMal MushMal closed this as completed Dec 1, 2017
@anandpanchal
Copy link
Author

anandpanchal commented Dec 1, 2017 via email

@MushMal
Copy link
Contributor

MushMal commented Dec 1, 2017

The latest commit contains install-script which can run on Ubuntu based Linux.

@anandpanchal
Copy link
Author

anandpanchal commented Dec 1, 2017 via email

@MushMal
Copy link
Contributor

MushMal commented Dec 1, 2017

Hi Anand, I am not sure I understand as I am not familiar with pynt or Rollback. Can you please clarify if you are running install-script? This script pulls down and installs open source components which are needed for the build. The last two lines invoke the cmake for the core SDK build. If you are running the install-script then can you tell which open source component it is failing to build? Could you run the same on an ubuntu box?

@gauravgh
Copy link

gauravgh commented Dec 1, 2017

Additionally, here's a link to a Getting Started example for Raspberry Pi: https://s3-us-west-2.amazonaws.com/kinesis-video-streaming/kinesis-video-raspberry-pi-getting-started.pdf

@anandpanchal
Copy link
Author

anandpanchal commented Dec 2, 2017 via email

@anandpanchal
Copy link
Author

anandpanchal commented Dec 2, 2017 via email

@arunned
Copy link

arunned commented Dec 5, 2017

cmake issue in macOS

if test "emacs" != "no"; then
am__dir=. am__subdir_includes='';
case po-compat.elc in /)
am__dir=echo 'po-compat.elc' | sed 's,/[^/]*$,,';
am__subdir_includes="-L $am__dir -L ./$am__dir";
esac;
test -d "$am__dir" || ../../build-aux/install-sh -c -d "$am__dir" || exit 1;
emacs --batch

$am__subdir_includes -L . -L .
--eval "(defun byte-compile-dest-file (f) "po-compat.elc")"
--eval "(unless (byte-compile-file "po-compat.el") (kill-emacs 1))";
else :; fi
Wrote /Users/XXXXXXXXXX/Downloads/amazon-kinesis-video-streams-producer-sdk-cpp-master/kinesis-video-native-build/downloads/gettext-0.19.8/gettext-tools/misc/po-compat.elc
if test -f archive.dir.tar; then
inputfile=archive.dir.tar;
else
inputfile='.'/archive.dir.tar;
fi;
./convert-archive dir git "$inputfile" archive.git.tar.gz
fatal: Failed to resolve 'HEAD' as a valid ref.
convert-archive: *** git init failed
convert-archive: *** Stop.
make[4]: *** [archive.git.tar.gz] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@arunned
Copy link

arunned commented Dec 5, 2017

will be helpful to get this script ./install_kinesis_video_demo.sh

@MushMal
Copy link
Contributor

MushMal commented Dec 7, 2017

@arunned could you please try the latest commit? We have made some improvements and updated the README.md with instructions on the build-time dependencies. Could you check your build tools versions?

Also, the install-script will handle the Raspberry PI

@MushMal MushMal closed this as completed Dec 9, 2017
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

4 participants