Registered Member
|
building kdenlive/frei0r from build script fails due to some opencv failure ?
Tue Jan 29, 2013 12:34 pm
Hello everybody, I'am actually using sabayon 9 and keep trying building kdenlive from build script. Anyway, any time I try it I get the following error message :
./configure: line 15695: syntax error near unexpected token `OPENCV,' ./configure: line 15695: `PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, HAVE_OPENCV=true, true)' ERROR: Unable to configure frei0r Can anybody tell me what's going wrong? Kind regards André-Frédéric |
Registered Member
|
Do you have pkg-config installed?
|
Registered Member
|
Yes, I#ve got pkg-config-1.1.4 installed
|
Registered Member
|
Hello,
Almost the same here - debian squeeze - In file included from filter/cairogradient/cairogradient.c:30: ../include/frei0r_cairo.h: In function 'frei0r_cairo_set_operator': ../include/frei0r_cairo.h:77: error: 'CAIRO_OPERATOR_MULTIPLY' undeclared (first use in this function) ../include/frei0r_cairo.h:77: error: (Each undeclared identifier is reported only once ../include/frei0r_cairo.h:77: error: for each function it appears in.) ../include/frei0r_cairo.h:81: error: 'CAIRO_OPERATOR_SCREEN' undeclared (first use in this function) ../include/frei0r_cairo.h:85: error: 'CAIRO_OPERATOR_OVERLAY' undeclared (first use in this function) ../include/frei0r_cairo.h:89: error: 'CAIRO_OPERATOR_DARKEN' undeclared (first use in this function) ../include/frei0r_cairo.h:93: error: 'CAIRO_OPERATOR_LIGHTEN' undeclared (first use in this function) ../include/frei0r_cairo.h:97: error: 'CAIRO_OPERATOR_COLOR_DODGE' undeclared (first use in this function) ../include/frei0r_cairo.h:101: error: 'CAIRO_OPERATOR_COLOR_BURN' undeclared (first use in this function) ../include/frei0r_cairo.h:105: error: 'CAIRO_OPERATOR_HARD_LIGHT' undeclared (first use in this function) ../include/frei0r_cairo.h:109: error: 'CAIRO_OPERATOR_SOFT_LIGHT' undeclared (first use in this function) ../include/frei0r_cairo.h:113: error: 'CAIRO_OPERATOR_DIFFERENCE' undeclared (first use in this function) ../include/frei0r_cairo.h:117: error: 'CAIRO_OPERATOR_EXCLUSION' undeclared (first use in this function) ../include/frei0r_cairo.h:121: error: 'CAIRO_OPERATOR_HSL_HUE' undeclared (first use in this function) ../include/frei0r_cairo.h:125: error: 'CAIRO_OPERATOR_HSL_SATURATION' undeclared (first use in this function) ../include/frei0r_cairo.h:129: error: 'CAIRO_OPERATOR_HSL_COLOR' undeclared (first use in this function) ../include/frei0r_cairo.h:133: error: 'CAIRO_OPERATOR_HSL_LUMINOSITY' undeclared (first use in this function) make[1]: *** [cairogradient_la-cairogradient.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -MT cairoimagegrid_la-cairoimagegrid.lo -MD -MP -MF .deps/cairoimagegrid_la-cairoimagegrid.Tpo -c filter/cairoimagegrid/cairoimagegrid.c -fPIC -DPIC -o .libs/cairoimagegrid_la-cairoimagegrid.o mv -f .deps/value.Tpo .deps/value.Plo In file included from filter/cairoimagegrid/cairoimagegrid.c:27: ../include/frei0r_cairo.h: In function 'frei0r_cairo_set_operator': ../include/frei0r_cairo.h:63: warning: implicit declaration of function 'strcmp' ../include/frei0r_cairo.h:77: error: 'CAIRO_OPERATOR_MULTIPLY' undeclared (first use in this function) ../include/frei0r_cairo.h:77: error: (Each undeclared identifier is reported only once ../include/frei0r_cairo.h:77: error: for each function it appears in.) ../include/frei0r_cairo.h:81: error: 'CAIRO_OPERATOR_SCREEN' undeclared (first use in this function) ../include/frei0r_cairo.h:85: error: 'CAIRO_OPERATOR_OVERLAY' undeclared (first use in this function) ../include/frei0r_cairo.h:89: error: 'CAIRO_OPERATOR_DARKEN' undeclared (first use in this function) ../include/frei0r_cairo.h:93: error: 'CAIRO_OPERATOR_LIGHTEN' undeclared (first use in this function) ../include/frei0r_cairo.h:97: error: 'CAIRO_OPERATOR_COLOR_DODGE' undeclared (first use in this function) ../include/frei0r_cairo.h:101: error: 'CAIRO_OPERATOR_COLOR_BURN' undeclared (first use in this function) ../include/frei0r_cairo.h:105: error: 'CAIRO_OPERATOR_HARD_LIGHT' undeclared (first use in this function) ../include/frei0r_cairo.h:109: error: 'CAIRO_OPERATOR_SOFT_LIGHT' undeclared (first use in this function) ../include/frei0r_cairo.h:113: error: 'CAIRO_OPERATOR_DIFFERENCE' undeclared (first use in this function) ../include/frei0r_cairo.h:117: error: 'CAIRO_OPERATOR_EXCLUSION' undeclared (first use in this function) ../include/frei0r_cairo.h:121: error: 'CAIRO_OPERATOR_HSL_HUE' undeclared (first use in this function) ../include/frei0r_cairo.h:125: error: 'CAIRO_OPERATOR_HSL_SATURATION' undeclared (first use in this function) ../include/frei0r_cairo.h:129: error: 'CAIRO_OPERATOR_HSL_COLOR' undeclared (first use in this function) ../include/frei0r_cairo.h:133: error: 'CAIRO_OPERATOR_HSL_LUMINOSITY' undeclared (first use in this function) mv -f .deps/timeout.Tpo .deps/timeout.Plo make[1]: *** [cairoimagegrid_la-cairoimagegrid.lo] Error 1 mv -f .deps/twolay0r.Tpo .deps/twolay0r.Plo mv -f .deps/vignette.Tpo .deps/vignette.Plo mv -f .deps/xfade0r.Tpo .deps/xfade0r.Plo mv -f .deps/vectorscope_la-vectorscope.Tpo .deps/vectorscope_la-vectorscope.Plo mv -f .deps/rgbparade_la-rgbparade.Tpo .deps/rgbparade_la-rgbparade.Plo make[1]: Leaving directory `/home/durden/kdenlive_2013_01_29/src/frei0r/src' make: *** [all-recursive] Error 1 ERROR: Unable to build frei0r LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build frei0r i'm trying to add some cairo relatives package, no success until now.... By the way, is there any way to have lastest version (stable) of Kdenlive on debian without using the build script ? Which surely use constant development code. Last working build i did with the script is 2012_11_23. No troubles with this version. Best. |
Registered Member
|
The thread is very old, but someone might find this useful:
go to http://cairographics.org/releases/ and download a recent pixman and cairo. Build both and try to build frei0r (rerun build-kdenlive.sh if you use this script). I have used http://cairographics.org/releases/pixman-0.30.2.tar.gz and http://cairographics.org/releases/cairo-1.12.0.tar.gz and it solved the problem. |
Registered Member
|
Getting error while buildig kdenlive . make failed ... Please help :
[ 83%] Building CXX object src/CMakeFiles/kdenlive.dir/utils/KoIconUtils.cpp.o /root/kdenlive/kdenlive/src/utils/KoIconUtils.cpp: In function ‘QIcon KoIconUtils::themedIcon(const QString&)’: /root/kdenlive/kdenlive/src/utils/KoIconUtils.cpp:41:39: error: invalid use of incomplete type ‘class QPalette’ QColor background = qApp->palette().window().color(); ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:40:0, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariant:1, from /usr/include/KF5/KConfigCore/kconfig.h:32, from /usr/include/KF5/KConfigCore/ksharedconfig.h:25, from /usr/include/KF5/KConfigCore/kcoreconfigskeleton.h:28, from /usr/include/KF5/KConfigGui/kconfigskeleton.h:28, from /root/kdenlive/kdenlive/build/src/kdenlivesettings.h:6, from /root/kdenlive/kdenlive/src/utils/KoIconUtils.h:23, from /root/kdenlive/kdenlive/src/utils/KoIconUtils.cpp:19: /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1874:1: note: forward declaration of ‘class QPalette’ QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ src/CMakeFiles/kdenlive.dir/build.make:4252: recipe for target 'src/CMakeFiles/kdenlive.dir/utils/KoIconUtils.cpp.o' failed make[2]: *** [src/CMakeFiles/kdenlive.dir/utils/KoIconUtils.cpp.o] Error 1 CMakeFiles/Makefile2:568: recipe for target 'src/CMakeFiles/kdenlive.dir/all' failed make[1]: *** [src/CMakeFiles/kdenlive.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 |
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]