Comments (20)
Are you sure this is the whole output? There is no indication on why it failed.
from rpiplay.
This is all output:
pi@raspberrypi:~/RPiPlay/build $ make
[ 0%] Building C object renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/h264_stream.c.o
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_scaling_list’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:466:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int j = 0; j < sizeOfScalingList; j++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:466:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_svc_vui_parameters_extension’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:564:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= sps_svc_ext->vui.vui_ext_num_entries_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_hrd_parameters’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:676:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int SchedSelIdx = 0; SchedSelIdx <= hrd->cpb_cnt_minus1; SchedSelIdx++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_pic_parameter_set_rbsp’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:726:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group <= pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:733:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group < pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:749:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= pps->pic_size_in_map_units_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:780:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i < 6 + 2* pps->transform_8x8_mode_flag; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘write_scaling_list’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:1795:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int j = 0; j < sizeOfScalingList; j++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘write_svc_vui_parameters_extension’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:1893:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= sps_svc_ext->vui.vui_ext_num_entries_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘write_hrd_parameters’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:2005:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int SchedSelIdx = 0; SchedSelIdx <= hrd->cpb_cnt_minus1; SchedSelIdx++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘write_pic_parameter_set_rbsp’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:2055:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group <= pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:2062:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group < pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:2078:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= pps->pic_size_in_map_units_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:2109:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i < 6 + 2* pps->transform_8x8_mode_flag; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_debug_scaling_list’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3124:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int j = 0; j < sizeOfScalingList; j++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_debug_svc_vui_parameters_extension’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3222:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= sps_svc_ext->vui.vui_ext_num_entries_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_debug_hrd_parameters’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3334:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int SchedSelIdx = 0; SchedSelIdx <= hrd->cpb_cnt_minus1; SchedSelIdx++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c: In function ‘read_debug_pic_parameter_set_rbsp’:
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3384:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group <= pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3391:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i_group = 0; i_group < pps->num_slice_groups_minus1; i_group++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3407:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i <= pps->pic_size_in_map_units_minus1; i++ )
^
/home/pi/RPiPlay/renderers/h264-bitstream/h264_stream.c:3438:13: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for( int i = 0; i < 6 + 2* pps->transform_8x8_mode_flag; i++ )
^
renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/build.make:62: recipe for target 'renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/h264_stream.c.o' failed
make[2]: *** [renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/h264_stream.c.o] Error 1
CMakeFiles/Makefile2:569: recipe for target 'renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/all' failed
make[1]: *** [renderers/h264-bitstream/CMakeFiles/h264-bitstream.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
from rpiplay.
Did cmake succeed before that?
from rpiplay.
Yes
from rpiplay.
Did you use git clone for getting the project files?
from rpiplay.
Yes, I use this commands
git clone https://github.com/FD-/RPiPlay.git
cd RPiPlay
from rpiplay.
Please try if adding
set (CMAKE_C_STANDARD 11)
after
set (CMAKE_CXX_STANDARD 11)
In the top-level CMakeList.txt fixes the problem.
from rpiplay.
You must be using an old version of GCC. What system are you running and what gcc version do you use?
from rpiplay.
Please try if adding
set (CMAKE_C_STANDARD 11)
after
set (CMAKE_CXX_STANDARD 11)
In the top-level CMakeList.txt fixes the problem.
Its not help. I check that I have GCC version 4.9.2
from rpiplay.
That's the problem then. Why are you using this old gcc version? What system are you using?
from rpiplay.
I don't know) Im not a pro user. I have Raspbian GNU/Linux 8 (jessie)
from rpiplay.
You don't need to be a pro user to keep your system updated. Jessie is almost 5 years old.
from rpiplay.
How I can update my system? I make sudo apt-get update and upgrade options yesterday.
from rpiplay.
Major OS updates require a reflash. Google is your friend.
from rpiplay.
Thank your very much!)
from rpiplay.
I upgrade my Raspberry to (stretch) and version of GCC now is 6.3.0. I tried to install RPiPlay again, and have new errors:
pi@raspberrypi:~ $ cd RPiPlay
pi@raspberrypi:/RPiPlay $ cd build/RPiPlay/build $ cmake ..
pi@raspberrypi:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/RPiPlay/build
pi@raspberrypi:~/RPiPlay/build $ make
[ 2%] Built target h264-bitstream
[ 2%] Built target curve25519
[ 7%] Built target ed25519
[ 10%] Built target playfair
[ 15%] Built target plist
[ 23%] Built target airplay
[ 24%] Built target ilclient
[ 97%] Built target fdk-aac
[ 99%] Built target renderers
[100%] Linking CXX executable rpiplay
lib/libairplay.a(crypto.c.o): In function aes_reset': crypto.c:(.text+0x35c): undefined reference to
EVP_CIPHER_CTX_reset'
lib/libairplay.a(crypto.c.o): In function sha_init': crypto.c:(.text+0x754): undefined reference to
EVP_MD_CTX_new'
lib/libairplay.a(crypto.c.o): In function sha_reset': crypto.c:(.text+0x8a8): undefined reference to
EVP_MD_CTX_reset'
lib/libairplay.a(crypto.c.o): In function sha_destroy': crypto.c:(.text+0x924): undefined reference to
EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
CMakeFiles/rpiplay.dir/build.make:110: recipe for target 'rpiplay' failed
make[2]: *** [rpiplay] Error 1
CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/rpiplay.dir/all' failed
make[1]: *** [CMakeFiles/rpiplay.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
from rpiplay.
You have an old version of libssl.
from rpiplay.
Ok, thank you, I installed this) How I can start use this? Then I print rpiplay - nothing happens
from rpiplay.
Sorry for my stupidity. I open folder with rpiplay and start service- and I see rpiplay on my iPhone, but when I tried to send video from iphone - my iPhone said "failed to connect"
from rpiplay.
Yeeeeeeee) Its work! Thank you for your great job. I just update AVAHI)
from rpiplay.
Related Issues (20)
- ^hello
- RPi Play still showing in Screen Mirroring
- Raspberry PI Raspi 4 no Airplay output on HDMI ports HOT 5
- Nothing happens when trying to screenshare HOT 10
- no audio using screen mirroring
- How do you uninstall? HOT 1
- Is there Raspi Image HOT 1
- Screen is tearing with gstreamer HOT 2
- make -j or j1 error HOT 1
- Display of Apple device not appearing HOT 3
- RPiPlay doesn't support Raspberry Pi OS Bullseye HOT 1
- RPiPlay on Raspberry Pi 4 B 8B Issue HOT 7
- How to get the screen resolution of iOS device?
- Building Error during Make HOT 1
- use RPiPlay on analog output
- Unable to stream on screen error ** (rpiplay:7237): CRITICAL **: 21:32:04.090: gst_app_src_push_internal: assertion 'GST_IS_APP_SRC (appsrc)' failed HOT 2
- Stop Replying To HDCP Requests
- Not showing on Raspberry pi 5 32Bits HOT 2
- Impossible to Screen mirror Netflix HOT 6
- BUG: Video start delaying after iphone display rotated to horizontal 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 rpiplay.