Maui Forums
makemkv - compile with c++11 support ? [solved] - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: makemkv - compile with c++11 support ? [solved] (/showthread.php?tid=23976)



makemkv - compile with c++11 support ? [solved] - markce - 28th September 2016

After plodding along tweaking Maui to match my production system, I'm almost there; and must applaud the team for this latest OS. It's been the smoothest installation yet on my slightly different AMD-based pc.

What I think is my last issue is the compilation of makemkv. I've never had a problem before under any of the netrunner versions but on what is a standard Maui installation, the first of many errors listed after the $ make command is:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 

The error is not reported in the makemkv forum and many people apparently have successfully compiled makemkv under ubuntu 16.04. Compiler errors are way out of my experience.

The short answer I'm looking for is - is this a) something I can correct from my end with further installation, tinkering etc or b) is this something only the makemkv authors can correct.

Thanking the team for Maui and the forum for any hints!


RE: makemkv - compile with c++11 support ? - leszek - 28th September 2016

This is an issue with the makemkv cmake or qmake files I guess.
You can make it work by either adding the
c++11 to the cmake file for config or
-std=c++11 to the QMAKE_CXXFLAGS in qmake.

Hope that hint helps. Otherwise I give me a download Link to the source and I will patch it.


RE: makemkv - compile with c++11 support ? - markce - 29th September 2016

Thank you very much. That worked! Big Grin

Just for somebody else like me:
  • Extract makemkv source files as per makemkv instructions from the linux download page & open a terminal in the created source folder
  • Run $ ./configure (as per instructions) - this will create the text file Makefile in the source folder
  • Open this text file (with your favourite editor) and add to the end of the CFLAGS declaration (line 7 in my example):  -std=c++11
  • Save Makefile
  • Run $ make and remaining instructions as usual