OLINUXINO | Open Source / Open Hardware
kandi X-RAY | OLINUXINO Summary
kandi X-RAY | OLINUXINO Summary
OLinuXino - Single-Board Linux Computer, Copyright (C) 2012-2019, OLIMEX Ltd. OLinuXino is an Open Source Software and Open Source Hardware project, aiming to produce low cost (starting from EUR 24) Linux and Android Single Board Computers (SBC) in both commercial and industrial temperature range. Board variants with extra flash memory are also available.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of OLINUXINO
OLINUXINO Key Features
OLINUXINO Examples and Code Snippets
Community Discussions
Trending Discussions on OLINUXINO
QUESTION
I tried to play video with gstreamer-1.0 on buildroot. I opened elements of gstreamer on buildroot. But when I use gst-inspect
command, I can not find elements what actived on buildroot. For example I activated videotestsrc
. When I want use this element, I take no such element or plugin 'videotestsrc'
error.
Also I tried export library. I used this command:
export LD_LIBRARY_PATH=/usr/bin/gstreamer-1.0
export GST_PLUGIN_PATH=/usr/bin/gstreamer-1.0
export GST_PLUGIN_1_0
but result did not change. How can I fix this? How can I work gstreamer-1.0 on buildoot?
Note: Buildroot 2019.05-rc1, kernel 5.0.14, u-boot 2017-05, microprocess Allwinner A13
Update(16.05.2019)
defconfig:
ANSWER
Answered 2019-May-16 at 06:15What is your buildroot configuration exactly? (run make savedefconfig and paste the defconfig file here). Notice that Buildroot will not notice changes to the many gst1-plugins-* options after you have done a build, so you need to do a clean build (make clean; make) for the changes to take effect.
See the manual for details: https://buildroot.org/downloads/manual/manual.html#full-rebuild
QUESTION
I work for buildroot. My purpose work GUI on my buildroot with Gtk3.0
and Gstreamer1.0
. I use Olinuxino A13 so I wrote GUI code(Gtk3.0 hello world example) on this with codeblocks. I use Debian wheezy. I want transfer this code from Debian wheezy to buildroot.
I tried this:
I transferred
/path_to_proectfile/bin/Debug/my_program.my_program
created by codeblocks. I wrote./my_program
on terminal and code work. I transferred this file to my buildroot but./my_program
does not work. It returnsNo such file or directory
error.I thought the problem might be compiling and tried compiled on terminal. I use
gcc -o my_program main.c 'pkg-config --cflags --libs gtk+-3.0'
again work on Debian wheezy terminal. After I transferred to buildroot but result does not change. I tried different compile kind likecc
,arm-linux-gnueabi-gcc
etc. but every timeNo such file or directory
error.
Finally when I don't use gtk library(Just use printf Hello World
), I saw Hello world. When I add gtk library returns No such file or directory
error. Have you any suggestion?
ANSWER
Answered 2019-Apr-04 at 10:05You need to cross compile your program with the corresponding buildroot toolchain. It looks like you have transferred a binary which was built against a different libc (this gives a "No such file or directory" error).
The buildroot cross compiler with the correct libc can be used by setting CC to "path_to_buildroot_output/host/bin/arm-linux-*-gcc"
(the exact name depends on which toolchain options you have chosen).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OLINUXINO
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page