Comments (6)
cp ~/Workspace/rpi-webrtc-streamer/misc/webrtc_arm_build_args.gn arm_build/args.gn
cd arm_build
gn gen arm_build
If you do 'gn gen arm_build' in the arm_build directory, you are making default x86_64 build for ubuntu without args.gn for raspberry arm build.
The first thing to check is the error message that occurred when executing 'gen gen arm_build' in the ~/Workspace/webrtc/src directories. Please let me know the error message.
First of all, it is highly probable that Raspberry PI's root fs (rpi_rootfs) does not have the package needed to build webrtc. Make sure you have installed https://github.com/kclyu/rpi_rootfs#required-package-in-raspberry-pi in the rpi_rootfs repo in raspberry pi.
If the error message related to the gtk3 of the package, then try to install libgtk-3-dev which is added recently on webrtc build on raspiberry pi and recreate rpi_rootfs.
p.s. If the problem is package dependency and you have solved it, please let us know the package list you installed.
from rpi-webrtc-streamer.
Thank You very much :),
yes I didnt install requires packages at my rasbperry pi I've been doing this at my ubuntu. it solves build problem. So i have built but after put exe into rasbperry pi (I'm using zero W) i got :
/webrtc-streamer: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.21
not found (required by ./webrtc-streamer)I tried to update
libstdc++6` but its telling me I already have nwest version
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_DEBUG_MESSAGE_LENGTH
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Do You know how to get GLIBCXX_3.4.21 ?
I also noticed that my generated webrtc-streamer has 51MB is it normal ? since when I unpacked deb package from You another repo it was much less ?
from rpi-webrtc-streamer.
First of all, for Raspberry PI Zero W, if you have built RWS using webrtc_arm_build_args.gn, build it using webrtc_armv6_build_args.gn. And if you use ZeroW OS with lite, please change to desktop version.
ps. about the size, you can remove the debugging symbols from the binary by below command
arm-linux-gnueabihf-strip webrtc-streamer # on ubuntu
# or
strip webrtc-streamer # on raspberry pi
from rpi-webrtc-streamer.
HI I tried like You wrote to do I did everything the same until step :
cp ~/Workspace/rpi-webrtc-streamer/misc/webrtc_arm_build_args.gn arm_build/args.gn
I put
cp ~/Workspace/rpi-webrtc-streamer/misc/webrtc_armv6_build_args.gn arm_build/args.gn
instead
gn gen arm_build
run without problem but :
ninja -C arm_build
return errors : ninja arm_build.txt
Can You please tell me waht I'm doing wrong ?
Thank You
from rpi-webrtc-streamer.
There seems to be no problem with the build process ....
kclyu@keunchang2:~/Workspace/webrtc/src$
kclyu@keunchang2:~/Workspace/webrtc/src$
kclyu@keunchang2:~/Workspace/webrtc/src$ mv arm_build arm_build.neon
kclyu@keunchang2:~/Workspace/webrtc/src$ mkdir arm_build
kclyu@keunchang2:~/Workspace/webrtc/src$ cp ~/Workspace/rpi-webrtc-streamer/misc/
AppRTCMobile.apk webrtc_arm_build_args.gn
WEBRTC_BRANCH.conf webrtc_armv6_build_args.gn
nginx-ssl-client-authenticate-example webrtc_streamer_architecture.png
nginx-ssl-config-example webrtc_x64_build_args.gn
webrtc_android_build_args.gn
kclyu@keunchang2:~/Workspace/webrtc/src$ cp ~/Workspace/rpi-webrtc-streamer/misc/webrtc_armv6_build_args.gn arm_build/args.gn
kclyu@keunchang2:~/Workspace/webrtc/src$ ls
AUTHORS OWNERS arm_build check_root_dir.py out tools
BUILD.gn PATENTS arm_build.neon cleanup_links.py pylintrc tools_webrtc
CODE_OF_CONDUCT.md PRESUBMIT.py base codereview.settings resources webrtc
DEPS README.md build data sync_chromium.pyc
LICENSE WATCHLISTS build_overrides infra testing
LICENSE_THIRD_PARTY android_build buildtools license_template.txt third_party
kclyu@keunchang2:~/Workspace/webrtc/src$ gn gen arm_build
Done. Made 235 targets from 108 files in 2289ms
kclyu@keunchang2:~/Workspace/webrtc/src$ ninja -C arm_build
ninja: Entering directory `arm_build'
[571/1735] ACTION //third_party/opus:convert_rtcd_assembler(//build/toolchain/linux:arm)
perl /home/kclyu/Workspace/webrtc/src/third_party/opus/src/celt/arm/arm2gnu.pl /home/kclyu/Workspace/webrtc/src/third_party/opus/src/celt/arm/celt_pitch_xcorr_arm.s | sed "s/OPUS_ARM_MAY_HAVE_[A-Z]*/1/g" | sed "/.include/d" > gen/third_party/opus/celt_pitch_xcorr_arm_gnu.S
[858/1735] CXX obj/webrtc/base/rtc_task_queue/task_queue_libevent.o
../webrtc/base/task_queue_libevent.cc: In destructor ‘rtc::TaskQueue::PostAndReplyTask::~PostAndReplyTask()’:
../webrtc/base/task_queue_libevent.cc:182:50: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(reply_pipe_, &message, sizeof(message));
^
[1735/1735] STAMP obj/default.stamp
kclyu@keunchang2:~/Workspace/webrtc/src$
First of all,
- build again with armv6 args.gn after completely deleting arm_build directory
- Check that arm-linux-gnueabihf-gcc -version appears as shown below.
Kclyu @ keunchang2: ~ / Workspace / webrtc / src $ arm-linux-gnueabihf-gcc --version
Arm-linux-gnueabihf-gcc (crosstool-NG crosstool-ng-1.22.0-248-gdf5a341 - Linaro GCC 2015.06) 4.9.4 20150629 (prerelease)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; See the source for copying conditions. There is NO
Warranty; Not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- I'm wondering if you raspberry pi update after installing raspberry pi os.
sudo apt update
sudo apt full-upgrade
4, I do not think this problem will happen because of the latest os update, but I update the raspberry pi to the latest one so I can rebuild and report the result.
---> As expected, the latest OS is irrelevant.
from rpi-webrtc-streamer.
Hi, yes You had right I had wrong arm-linux-gnueabihf-gcc
after I correct everything works perfect.
Thank You very much :)
from rpi-webrtc-streamer.
Related Issues (20)
- "/dev/vcsm": no such file or directory. HOT 2
- Cross-compile issue HOT 6
- Building WebRTC native-code library HOT 11
- Can you share static library of webrtc? HOT 1
- webrtc_streamer crashes at higher bitrates
- handle to raw image for furthur processing
- Stream delay builds up over time HOT 1
- Serving still captures
- Changing fixed bitrate at runtime
- Superfluous method
- Connecting to static public LTE IP
- Color correction during video streaming HOT 1
- Cross Compilation Error HOT 2
- net::ERR_SSL_PROTOCOL_ERROR HOT 1
- Do I need I Signaling server or does this project include it?
- How can I use webcam on RPi to collect streaming video data for WebRTC streaming?
- Motion Detection and low-level properties inside H264 decoder
- What do you need doing, kclyu?
- Multi-Client Connections
- Compile error ! help me!
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 rpi-webrtc-streamer.