Registered Member
|
I'm trying to build kdenlive on Linux Mint 17.1 Rebecca on x86_64 using the script provided by https://github.com/mltframework/mlt-scripts.git (REV bd173400). All the development dependencies that are mentioned on the installation page of kdenlive are installed on my system. While building, this error occurs:
I've searched for this error and found the (somehow weird) solution that sox dev headers were missing for the other person. On my system, sox dev headers are present, however. Any idea what else could be wrong? Thanks in advance, Joe |
Registered Member
|
Addition: I think there's other people with the exact same problem. I've found two pastebins on
http://pastebin.com/QGeyvKMU and http://pastebin.com/33dUpDkW which show the same error message -- but no cross-references (just pastebin), so no clue on how (if?) they solved the issue. I've just erased all source files and did a completely clean build, the error persists. Also note that linking of the "melt" binary works fine, the error occurs only *afterwards*. I'll try to get this resolved on my own and post my digging/finding here so that if anyone finds this thread in the future they can at least reproduce my steps. |
Registered Member
|
So, more info. The command that fails is
i.e. within the dependency checking stuff. When I try to see why the macro is undefined by trying to get the preprocessor output
I get a ton of errors:
So it apparently doesn't find any headers. Odd. But do I have them installed? I think yes:
When trying to include all the missing paths I eventually end up with
which still throws one error
And this QGLWidget isn't installed on my system. So I installed the packet libqt4-opengl-dev and it's present. Now
runs flawlessly (no error). Also, of course, when not using -E, but -MM. However: These includes are not passed to g++ when it runs through the Makefile. I'm guessing some kind of qt-config magic should take care of this, but apparently doesn't. So therefore the whole build still fails. Any ideas why this would be happening? |
Registered Member
|
Ah! I was too soon with my assessment. Yes, the build still failed, but not at that location. So apparently, in my case, the missing packet
was causing the weird issue ("missing binary operator before token"). It seems not to be checked for in any configure steps of the scripts and causes the weird confusion. Then, later in the process, the build failed during a configure phase because it was missing
Also note that in the build prerequisties listed on https://kdenlive.org/download-source#dependencies the package libjack-dev should actually be libjack-jackd2-dev for recent versions of Jack. Another hint: Install kdelibs5-plugins if you don't want kdenlive to segfault right after starting up. Also included in the updated dependency command line. (See viewtopic.php?f=269&t=128145&p=341279#p341279) So I propose to change the prerequsites commandline to
And everything should build fine. Hope someone reads this and all the digging wasn't for nothing... Thanks for making kdenlive, it's pretty damn awesome. Cheers, Johannes |
Moderator
|
Joe,
Would you consider updating the developer wiki at https://community.kde.org/Kdenlive/Development/KF5 to match your findings |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]