Comments (8)
Could you please try export JAVA_HOME=<your jdk home directory>
To check if the environment variable is set:
$ echo $JAVA_HOME
To set the environment variable (e.g in Sierra):
$ export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)`
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
If its set then from the directory
/Users/home/Desktop/amazon-kinesis-video-streams-producer-sdk-cpp-master/kinesis-video-native-build
run
./install-script
Could you also provide how are you planning to use the Kinesis Video Streams ?
from amazon-kinesis-video-streams-producer-sdk-cpp.
Received a similar error while compiling latest clone on my Raspberry Pi while running ./install-script:
In file included from /home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-producer-jni/src/source/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.cpp:5:0:
/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/../kinesis-video-producer-jni/src/include/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.h:14:54: fatal error: jni.h: No such file or directory
#include <jni.h> // Basic native API
^
compilation terminated.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@enusbaum could you please verify whether you have a Java JDK installed (open JDK will do). If so, can you set the path as per Readme @unicornss pasted in his reply?
Please respond so we can help you further.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Yes, I have Java JDK installed:
pi@raspberrypi:~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build $ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
pi@raspberrypi:~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build $ dpkg --list | grep -i jdk
ii oracle-java8-jdk 8u65 armhf Java™ Platform, Standard Edition 8 Development Kit
pi@raspberrypi:~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build $ echo $JAVA_HOME
/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt
from amazon-kinesis-video-streams-producer-sdk-cpp.
Hi enusbaum,
Can you check if you need to set JAVA_HOME to /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt?
This post looks similar to your case.
Could you also provide how are you planning to use the Kinesis Video Streams?
Thanks,
-ZH
from amazon-kinesis-video-streams-producer-sdk-cpp.
Thanks! Can confirm that was my issue and it needed to be "arm32" and not "arm"
Install script completed successfully.
Testing Kinesis Video Streams with my Raspberry Pi currently to prototype some stuff. Looking to see how well it ties into Amazon's AI/ML stack.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@unicornss below is Java_home directory
Homes-Mac-mini:~ home$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home
planned usage: I am building a prototype for construction sites workforce remote monitoring and data analysis from video-streams
from amazon-kinesis-video-streams-producer-sdk-cpp.
Updated xcode to latest version and tried re running the install script and it worked.So closing it for now.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Related Issues (20)
- [BUG] HTTP Error 403 : Response: {"message":"Signature expired: 20231107T044734Z is now earlier than 20231107T045305Z (20231107T045805Z - 5 min.)"} HOT 1
- resolution 1920x1080 vs 640*480 HOT 1
- [QUESTION] H265 support needed HOT 1
- [QUESTION] Set retention to 0 hours and play video HOT 4
- [FEATURE] Writing frames to content store even before kinesis video stream initialization. HOT 2
- [BUG] Error received from element udpsrc0: Internal data stream error HOT 5
- [QUESTION] what inexpensive Kinesis Video Stream approved IP Camera can I use to prototype HOT 1
- [QUESTION] calculate_skew: delta - skew: 0:00:01.010868203 too big, reset skew Error HOT 1
- [QUESTION] All my frames are getting dropped I think and data upload rate is very low (rtsp H265 at 1020*1080) HOT 3
- [QUESTION] Gstreamer event/message for streaming/connection releated issues in KVS SDK HOT 2
- [QUESTION] kvs_gstreamer_sample hanging after "pad link successful" HOT 1
- compilation error on Ubuntu HOT 1
- [QUESTION] Struggling with KVS streams on iOS HOT 6
- Not able to access media on Media Playback on Kinesis Video Streamer
- [QUESTION] Raspberry Pi からの映像送信でエラーが発生
- I am getting this error while running: cmake -DBUILD_GSTREAMER_PLUGIN=TRUE .. HOT 4
- [BUG] Streaming h.265 video from RTSP HOT 5
- [BUG] HOT 1
- [BUG] Gst plugin kvssink is built as static library
- [FEATURE] Make log level in kvssink configurable. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-video-streams-producer-sdk-cpp.