Comments (12)
Hi,
Thanks for reporting this issue. Please provide more information. I looked through the emails you sent and I am still confused. From what I can gather, you have several systems with different versions of Ubuntu and OpenSuse, all with ffmpeg-dev packages installed. First, confirm that the packages you have installed indeed contain the libavutil/pixdesc.h
file somewhere; having the file in the libavutil
subdirectory is important! If this is the case, please provide specific versions of operating systems where qarv fails to build. I am currently on a metered internet connection and cannot download entire distributions, but I can still check individual packages to see what is going on.
from qarv.
Hello
It compiles and starts on Ubuntu 15, can't run test it on my laptop
Not compiling on OpenSuse 13.2 and later (not tested on earlier versions)
Pixdesc.h is present on both distribution
on opensuse this file is in
/usr/include/ffmpeg/libavutil
on Ubuntu
/usr/include/x86_64-linux-gnu/libavutil/
However : on opensuse cmake says it finds libavutil
but fails here
-- Looking for av_pix_fmt_desc_get - not found
Thanks
E.
from qarv.
Please provide output of
pkg-config --cflags libavutil
for both distributions.
from qarv.
pkg-config --cflags libavutil
Opensuse 13.2 and Leap is
-I/usr/include/ffmpeg
Cmake
-- checking for module 'libavutil'
-- found libavutil, version 54.31.100
-- Looking for av_pix_fmt_desc_get
-- Looking for av_pix_fmt_desc_get - not found
Ubuntu 15 is
-I/usr/include/x86_64-linux-gnu
Thanks
E
from qarv.
Wait, let's take a step back. Are you sure that cmake is failing? Even if av_pix_fmt_desc_get
is not found, it should still build successfully. I haven't had a system without this function for a while now, let's use the opportunity to make sure qarv can still work without it.
from qarv.
mmmm
This is where I am lacking enough skills.
I did interpret it as a Cmake failure, because the file is here and cmake is reporting not.
My conclusion was that
Updating '/home/edouard/qarv/build/qarv_sl.qm'...
Generated 189 translation(s) (189 finished and 0 unfinished)
[ 2%] Generating src/filters/moc_levels.cxx
[ 3%] Generating src/filters/moc_c41.cxx
[ 4%] Generating ui_levels.h
[ 5%] Generating ui_c41.h
[ 6%] Generating src/recorders/moc_rawrecorders.cxx
[ 8%] Generating src/recorders/moc_gstrecorders.cxx
[ 9%] Generating src/recorders/moc_imagerecorder.cxx
[ 10%] Generating src/decoders/moc_mono12packed.cxx
[ 11%] Generating src/decoders/moc_monounpackeddecoders.cxx
[ 12%] Generating src/decoders/moc_bayer.cxx
[ 13%] Generating src/moc_glvideowidget.cxx
[ 15%] Generating src/moc_glhistogramwidget.cxx
[ 16%] Generating src/moc_qarvmainwindow.cxx
[ 17%] Generating src/moc_roicombobox.cxx
[ 18%] Generating src/moc_globals.cxx
[ 19%] Generating src/moc_workthread.cxx
[ 20%] Generating src/api/moc_qarvtype.cxx
[ 22%] Generating src/api/moc_qarvgui.cxx
[ 23%] Generating src/api/moc_qarvcamera.cxx
[ 24%] Generating src/api/moc_qarvcameradelegate.cxx
[ 25%] Generating src/filters/moc_filter.cxx
[ 26%] Generating ui_mainwindow.h
[ 27%] Generating qrc_icons.cxx
Scanning dependencies of target qarv-2
[ 29%] Building CXX object CMakeFiles/qarv-2.dir/src/filters/moc_levels.cxx.o
[ 30%] Building CXX object CMakeFiles/qarv-2.dir/src/filters/moc_c41.cxx.o
[ 31%] Building CXX object CMakeFiles/qarv-2.dir/src/filters/levels.cpp.o
[ 32%] Building CXX object CMakeFiles/qarv-2.dir/src/filters/c41.cpp.o
[ 33%] Building CXX object CMakeFiles/qarv-2.dir/src/recorders/moc_rawrecorders.cxx.o
In file included from /home/edouard/qarv/build/src/recorders/../../../src/recorders/recorder.h:23:0,
from /home/edouard/qarv/build/src/recorders/../../../src/recorders/rawrecorders.h:23,
from /home/edouard/qarv/build/src/recorders/moc_rawrecorders.cxx:9:
/home/edouard/qarv/src/api/qarvdecoder.h:30:30: fatal error: libavutil/pixfmt.h: No such file or directory
#include <libavutil/pixfmt.h>
^
compilation terminated.
CMakeFiles/qarv-2.dir/build.make:276: recipe for target 'CMakeFiles/qarv-2.dir/src/recorders/moc_rawrecorders.cxx.o' failed
make[2]: *** [CMakeFiles/qarv-2.dir/src/recorders/moc_rawrecorders.cxx.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/qarv-2.dir/all' failed
make[1]: *** [CMakeFiles/qarv-2.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
was the consequence of cmake missing the file.
From your mail I suspect I might be in the wrong ...
from qarv.
Ok, this makes more sense. I pushed a change to your c41 branch, please test.
from qarv.
Hello
Thanks for that. I fighting with git ... forgot the commands
I did
git clone for master
git checkout -b edouard
git fetch
but c41 does not appear ... sorry for being so dumb with this
from qarv.
From where you are now, do
git checkout master
git branch -D edouard
git checkout -b edouard origin/edouard
An do use a clean build directory ;)
from qarv.
Ok done .. all good !!!!
done remotely with SSH so will test run tomorrow
I will report ;-)
So many thanks
E
from qarv.
Great! Fixed in 1241f23 on master. Note that I have renamed the commit in your branch, which means that you will have to first delete it, do a fetch and then checkout again.
Thanks for your help!
from qarv.
Thanks to you too !!
from qarv.
Related Issues (20)
- [qt5] qarv: error while loading shared libraries: libqarv-3.so.3: cannot open shared object file HOT 1
- Recording feature bugs HOT 4
- qarv and qarv_player framerate limitations 999fps & 99fps HOT 3
- [feature request] qarv_player functionality HOT 4
- Unable to run qarv HOT 2
- Add support for new aravis pixel formats
- Cleanup: static analysis, compiler warnings
- Performance: allow non-contiguous images HOT 1
- Problems with glib files HOT 12
- Use aravis' error API properly.
- Issue adding second GenICam camera HOT 3
- Aravis 0.8.0-1 fix HOT 1
- error: βendlβ is not a member of βQtβ and library dependencies HOT 8
- qarv dose not currently compile on arch HOT 1
- MacOSX 11 build HOT 2
- Remove the "Write video information file" checkbox
- compile on windows HOT 1
- Performance issue when browsing camera features HOT 2
- Use gstreamer under the hood
- Streamline the release process
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 qarv.