hi35xx / live-streamer

RTP/RTSP stream server
GNU General Public License v3.0
122 stars 102 forks source link

How to compile #3

Open obozdag opened 5 years ago

obozdag commented 5 years ago

Can you please write compilation steps for linux? When I run ./configure it gives No package 'dbus-c++-1' found error.

shafferchance commented 5 years ago

https://launchpad.net/ubuntu/+source/dbus-c++ This is for ubuntu, debian distros. Hopefully this will help with compiling.

obozdag commented 5 years ago

@shafferchance I have installed the latest version of dbus-c++ on Ubuntu 18.04 but it still gives this error: `checking for DBUSXX... no configure: error: Package requirements (dbus-c++-1) were not met:

Package 'dbus-1', required by 'dbus-c++-1', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.FONTCONFIG

Alternatively, you may set the environment variables DBUSXX_CFLAGS and DBUSXX_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.`

When I comment the lines checking dbus then it asks FREETYPE then FONTCONFIG and so on... So it is nearly impossible for me to install all packages or compile them. Is there an easy way to have a compiled binary for hi3518e v100 ip camera with ov9712 sensor?

xuhuashan commented 5 years ago

the live-streamer has been integrated into hi35xx-buildroot, just build the hi35xx-buildroot, it has all dependencies included.

obozdag notifications@github.com 于2019年1月13日周日 上午5:10写道:

@shafferchance https://github.com/shafferchance I have installed the latest version of dbus-c++ on Ubuntu 18.04 but it still gives this error: `checking for DBUSXX... no configure: error: Package requirements (dbus-c++-1) were not met:

Package 'dbus-1', required by 'dbus-c++-1', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.FONTCONFIG

Alternatively, you may set the environment variables DBUSXX_CFLAGS and DBUSXX_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.`

When I comment the lines checking dbus then it asks FREETYPE then FONTCONFIG and so on... So it is nearly impossible for me to install all packages or compile them. Is there an easy way to have a compiled binary for hi3518e v100 ip camera with ov9712 sensor?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hi35xx/live-streamer/issues/3#issuecomment-453781240, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXiSuIBT9of5RovcfIoJvvIJD361cpNks5vCk87gaJpZM4Z1pVF .

jianqingHuang commented 4 years ago

./configure --host=arm-linux CC=arm-himix200-linux-gcc CPP=arm-himix200-linux-cpp CXX=arm-himix200-linux-g++ --prefix=/usr/share DBus-C++ No package 'DBus-C++' found
wget https://nchc.dl.sourceforge.net/project/dbus-cplusplus/dbus-c%2B%2B/0.9.0/libdbus-c%2B%2B-0.9.0.tar.gz tar -zxvf libdbus-c++-0.9.0.tar.gz cd libdbus-c++-0.9.0 ./configure

Build configuration:

Mainloop integration support: ecore ......................... yes glib........................... yes

Optional build items: build tests.................... yes build examples................. yes build doxygen documentation.... no Cross Compiling activated...... no PThread support found.......... yes make make install

<=========================================you need see that===================================>

No package 'libglib2.0' found sudo apt-get install libglib2.0-dev / apt-get install glib-2.0

No package 'ecore' found apt-get install e17 wget https://launchpadlibrarian.net/162508791/ecore_1.7.7.orig.tar.gz tar -zxvf ecore_1.7.7.orig.tar.gz cd ecore_1.7.7 ./configure make make install

No package 'eina' found wget https://launchpadlibrarian.net/165091188/eina_1.7.10.orig.tar.gz tar -zxvf eina_1.7.10.orig.tar.gz cd eina_1.7.10 ./configure make make install

configure: error: You need the eXpat xml parser wget https://nchc.dl.sourceforge.net/project/expat/expat/2.2.9/expat-2.2.9.tar.xz xz -d expat-2.2.9.tar.xz tar -xvf expat-2.2.9.tar cd expat-2.2.9 ./configure make make install