Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kdenlive and melt crash on Ubuntu 18.04 #25

Closed
ydesgagn opened this issue May 1, 2018 · 3 comments
Closed

Kdenlive and melt crash on Ubuntu 18.04 #25

ydesgagn opened this issue May 1, 2018 · 3 comments

Comments

@ydesgagn
Copy link

ydesgagn commented May 1, 2018

Using the build kdenlive or build melt scripts on Ubuntu 18.04 always produce crashing binaries.

OpenCV Error: Assertion failed (total() == 0 || data != NULL) in Mat, file /usr/include/opencv2/core/mat.inl.hpp, line 464 terminate called after throwing an instance of 'cv::Exception' what(): /usr/include/opencv2/core/mat.inl.hpp:464: error: (-215) total() == 0 || data != NULL in function Mat

Does anything need to be updated in those scripts to work with the latest?

Thanks

@ddennedy
Copy link
Member

ddennedy commented May 1, 2018

build-kdenlive.sh is no longer supported for building a usable app as of KDE Frameworks 5. It really only remains for automated nightly build bots for basic checking kdenlive still compiles successfully against MLT when it changes. Use the Kdenlive website for Kdenlive builds.

The other problem with build-melt.sh is probably due to frei0r OpenCV plugins facebl0r and facedetect. Try removing those corresponding .so files in lib/frei0r-1 and see if it works.

@ddennedy
Copy link
Member

ddennedy commented May 1, 2018

If the above workaround succeeds you can try this untested change:

diff --git a/build/build-melt.sh b/build/build-melt.sh
index f5aebcf..98f1677 100755
--- a/build/build-melt.sh
+++ b/build/build-melt.sh
@@ -517,7 +517,7 @@ function set_globals {

   ####
   # frei0r
-  CONFIG[2]="./configure --prefix=$FINAL_INSTALL_DIR --libdir=$FINAL_INSTALL_DIR/lib"
+  CONFIG[2]="cmake -DCMAKE_INSTALL_PREFIX=$FINAL_INSTALL_DIR -DWITHOUT_OPENCV=1"
   CFLAGS_[2]=$CFLAGS
   LDFLAGS_[2]=$LDFLAGS

@ydesgagn
Copy link
Author

ydesgagn commented May 3, 2018

Closing. Found the faulty frei0r OpenCV plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants