This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] kdenlive build scripts - any problem

Tags: None
(comma "," separated)
User avatar
vylaern
Registered Member
Posts
157
Karma
0
Hi

In last years I use together with official kdenlive, also kdenlive from build scripts.

The problem is in last week I cannot compile it as there is an error, any idea where is the problem? (looks like during compilation kdenlive & mlt)
Last part of the code bellow:
Code: Select all
In file included from /usr/include/mlt/framework/mlt_factory.h:26:0,
                 from /usr/include/mlt/framework/mlt.h:41,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/MltConsumer.h:26,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/Mlt.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/effectslist/initeffects.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:32:
/usr/include/mlt/framework/mlt_types.h:112:1: error: conflicting declaration 'typedef enum mlt_service_type mlt_service_type'
 mlt_service_type;
 ^
In file included from /home/ryszard/kdenlive/src/kdenlive/src/renderer.h:36:0,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:28:
/home/ryszard/kdenlive/20150710/include/mlt/framework/mlt_types.h:113:1: note: previous declaration as 'typedef enum mlt_service_type mlt_service_type'
 mlt_service_type;
 ^
In file included from /usr/include/mlt/framework/mlt_factory.h:26:0,
                 from /usr/include/mlt/framework/mlt.h:41,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/MltConsumer.h:26,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/Mlt.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/effectslist/initeffects.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:32:
/usr/include/mlt/framework/mlt_types.h:135:1: error: conflicting declaration 'typedef struct mlt_rect mlt_rect'
 mlt_rect;
 ^
In file included from /home/ryszard/kdenlive/src/kdenlive/src/renderer.h:36:0,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:28:
/home/ryszard/kdenlive/20150710/include/mlt/framework/mlt_types.h:135:1: note: previous declaration as 'typedef struct mlt_rect mlt_rect'
 mlt_rect;
 ^
In file included from /usr/include/mlt/framework/mlt_factory.h:26:0,
                 from /usr/include/mlt/framework/mlt.h:41,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/MltConsumer.h:26,
                 from /home/ryszard/kdenlive/20150710/include/mlt++/Mlt.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/effectslist/initeffects.h:24,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:32:
/usr/include/mlt/framework/mlt_types.h:145:1: error: conflicting declaration 'typedef struct mlt_color mlt_color'
 mlt_color;
 ^
In file included from /home/ryszard/kdenlive/src/kdenlive/src/renderer.h:36:0,
                 from /home/ryszard/kdenlive/src/kdenlive/src/doc/kdenlivedoc.cpp:28:
/home/ryszard/kdenlive/20150710/include/mlt/framework/mlt_types.h:145:1: note: previous declaration as 'typedef struct mlt_color mlt_color'
 mlt_color;
 ^
src/CMakeFiles/kdenlive.dir/build.make:568: recipe for target 'src/CMakeFiles/kdenlive.dir/doc/documentvalidator.o' failed
make[2]: *** [src/CMakeFiles/kdenlive.dir/doc/documentvalidator.o] Error 1
src/CMakeFiles/kdenlive.dir/build.make:591: recipe for target 'src/CMakeFiles/kdenlive.dir/doc/kdenlivedoc.o' failed
make[2]: *** [src/CMakeFiles/kdenlive.dir/doc/kdenlivedoc.o] Error 1
CMakeFiles/Makefile2:455: recipe for target 'src/CMakeFiles/kdenlive.dir/all' failed
make[1]: *** [src/CMakeFiles/kdenlive.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Unable to build kdenlive
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build kdenlive

Last edited by vylaern on Tue Jul 14, 2015 10:27 am, edited 1 time in total.
User avatar
Steve Guilford
Registered Member
Posts
207
Karma
0
The build script works. You probably have something wrong w/ your environment.

What O/S and version are you using?
User avatar
vylaern
Registered Member
Posts
157
Karma
0
Steve Guilford wrote:The build script works. You probably have something wrong w/ your environment.

What O/S and version are you using?


Gentoo 64

Code: Select all
# emerge --info
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.20-r2, 4.1.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.1.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8080124 total,   6000800 free
KiB Swap:    9767484 total,   9767484 free
Timestamp of repository gentoo: Fri, 10 Jul 2015 05:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 50                                                                                                                                             
                                                                                                                                                             
steam-overlay                                                                                                                                                 
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/video/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus declarative demosaic djvu dri dts dv dvd dvdr ebook embedded emboss encode exif fam ffmpeg firefox flac fortran frei0r gdbm gde gif glamor gles2 gpm gtk iconv icu ios ipv6 java jpeg kde kdenlive kipi lcms ldap libkms libnotify lm_sensors mad melt minizip mlt mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg ois opengl openmp opus pam pango pcre pcre16 pdf phonon plasma png policykit popcnt ppds qt3support qt4 readline reports scanner script sdl semantic-desktop session smp sna soprano spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd threads tiff tools truetype udev udisks unicode upower usb uxa vaapi vcd vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xmp xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
User avatar
Steve Guilford
Registered Member
Posts
207
Karma
0
I suspect that you have conflicting versions of MLT. Looking at your compile log, I see that it's including from /usr/include/mlt.

You probably have MLT installed from the Gentoo repo and have a copy of MLT in the sandbox's source tree. You'll need to work out your 'include' paths so that the sandbox comes up first.
User avatar
vylaern
Registered Member
Posts
157
Karma
0
Steve Guilford wrote:I suspect that you have conflicting versions of MLT. Looking at your compile log, I see that it's including from /usr/include/mlt.
You probably have MLT installed from the Gentoo repo and have a copy of MLT in the sandbox's source tree. You'll need to work out your 'include' paths so that the sandbox comes up first.


Yes. I have mlt, but I never had a problem with both version together. One was in the system tree, the other one (independent) was build by the script in /home/kdenlive. I will try uninstall mlt, then will run build.script.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Which build script are you using ?
I think ones here are for 0.9.10 http://www.mltframework.org/bin/view/MLT/BuildScripts
User avatar
vylaern
Registered Member
Posts
157
Karma
0
ttguy wrote:Which build script are you using ?
I think ones here are for 0.9.10 http://www.mltframework.org/bin/view/MLT/BuildScripts


Yes. But on 22nd update and had no problem and everything is fine now. [SOLVED]

many thanks
elahee
Registered Member
Posts
2
Karma
0
Hello i am facing problem while building kdenlive ... Problems looks like :






[ 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



Please Help


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]