Comments (8)
Hi evi8899,
Can you check your GCC version by running g++ --version? This is a C++14 feature which is supported after GCC 5. (C++14 Language Features)
You will need to update your GCC and rebuild to fix this issue.
Thanks,
-ZH
from amazon-kinesis-video-streams-producer-sdk-cpp.
I have updated to gcc 5.
Close the issue. Thanks!!
from amazon-kinesis-video-streams-producer-sdk-cpp.
I am currently on GCC/C++ 7.2 yet i still get this error
from amazon-kinesis-video-streams-producer-sdk-cpp.
do you have multiple compilers installed? can you try export CC=path/to/gcc-7.2.0 and CXX=path/to/g++-7.2.0? Also remember to delete CMakeCache.txt before running install-script.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Thanks Chehefen. That didnt resolve the issue.
Did the following
export CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
export CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
and then removed the CMakeCache.txt from the native build directory and still got the same error
from amazon-kinesis-video-streams-producer-sdk-cpp.
configure is able to detect as well but the build still fails. which compiler ver was used by you ?
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... /opt/rh/devtoolset-7/root/usr/bin/gcc
checking whether the C compiler works... yes
from amazon-kinesis-video-streams-producer-sdk-cpp.
Alternative : I tried compiling by forcing the following definition of make_unique into the DefaultCallbackProvider.h . The file compiled but now i am stuck at another error error: invalid use of auto’ PServiceCallContext service_call_ctx) -> auto {
`namespace std {
template struct _Unique_if {
typedef unique_ptr _Single_object;
};
template<class T> struct _Unique_if<T[]> {
typedef unique_ptr<T[]> _Unknown_bound;
};
template<class T, size_t N> struct _Unique_if<T[N]> {
typedef void _Known_bound;
};
template<class T, class... Args>
typename _Unique_if<T>::_Single_object
make_unique(Args&&... args) {
return unique_ptr<T>(new T(std::forward<Args>(args)...));
}
template<class T>
typename _Unique_if<T>::_Unknown_bound
make_unique(size_t n) {
typedef typename remove_extent<T>::type U;
return unique_ptr<T>(new U[n]());
}
template<class T, class... Args>
typename _Unique_if<T>::_Known_bound
make_unique(Args&&...) = delete;
}`
from amazon-kinesis-video-streams-producer-sdk-cpp.
Hi @ACGAshwin ,
Could you please try
export PATH=/opt/rh/devtoolset-7/root/usr/bin:$PATH
rm -rf yourpathtosdk/kinesis-video-native-build/CMakeCache.txt yourpathtosdk/kinesis-video-native-build/CMakeFiles
before running the ./install-script
?
Thanks
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.