I'm trying to build makemkv on Mandriva 2009.1 and can't seem to do it. I have all of these installed, libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev, gcc-c++.
I am getting a lot of errors tho when building the oss portion:
Code: Select all
mkdir -p out
gcc -O3 -oout/makemkv.full -Imakemkvgui/inc -Ilibmakemkv/inc -Isstring/inc -Ilibdriveio/inc \
makemkvgui/src/aboutbox.cpp makemkvgui/src/client.cpp makemkvgui/src/dirselectbox.cpp makemkvgui/src/logic.cpp makemkvgui/src/logtext.cpp makemkvgui/src/main.cpp makemkvgui/src/nativefiledialog.cpp makemkvgui/src/mainwnd.cpp makemkvgui/src/marshall.cpp makemkvgui/src/progress.cpp makemkvgui/src/scsiinfo.cpp makemkvgui/src/settingdlg.cpp makemkvgui/src/uisync.cpp makemkvgui/src/viteminfo.cpp makemkvgui/src/str/getstr.cpp makemkvgui/src/str/en_utf16.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/logic_posix.cpp tmp/qt_rsrc.cpp tmp/moc_mainwnd.cpp tmp/moc_logtext.cpp tmp/moc_dirselectbox.cpp tmp/moc_aboutbox.cpp tmp/moc_settingdlg.cpp sstring/src/sstring.cpp libdriveio/src/srlist.cpp \
-DHAVE_BUILDINFO_H -Itmp \
-I/usr/include/qt4 -L/usr/lib/qt4 -lc -lstdc++ -lQtGui -lQtCore
In file included from makemkvgui/src/aboutbox.cpp:17:
makemkvgui/src/aboutbox.h:20:23: error: QtGui/QtGui: No such file or directory
In file included from makemkvgui/src/aboutbox.cpp:17:
makemkvgui/src/aboutbox.h:24: error: expected class-name before ‘{’ token
makemkvgui/src/aboutbox.h:25: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
makemkvgui/src/aboutbox.h:26: error: expected ‘;’ before ‘private’
makemkvgui/src/aboutbox.h:30: error: expected `)' before ‘*’ token
In file included from makemkvgui/src/qtapp.h:25,
from makemkvgui/src/aboutbox.cpp:19:
makemkvgui/src/qtstr.h:20: error: ‘ushort’ was not declared in this scope
makemkvgui/src/qtstr.h:21: error: ‘ushort’ was not declared in this scope
makemkvgui/src/qtstr.h:21: error: ‘QChar’ was not declared in this scope
makemkvgui/src/qtstr.h:23: error: expected ‘,’ or ‘...’ before ‘&’ token
makemkvgui/src/qtstr.h:23: error: ISO C++ forbids declaration of ‘QString’ with no type
makemkvgui/src/qtstr.h: In function ‘const utf16_t* Utf16FromQString(int)’:
makemkvgui/src/qtstr.h:25: error: ‘str’ was not declared in this scope
makemkvgui/src/qtstr.h: At global scope:
makemkvgui/src/qtstr.h:28: error: ‘QString’ does not name a type
makemkvgui/src/qtstr.h:38: error: ‘QStringAccessBufferRW’ declared as an ‘inline’ variable
makemkvgui/src/qtstr.h:38: error: ‘QString’ was not declared in this scope
makemkvgui/src/qtstr.h:38: error: ‘str’ was not declared in this scope
makemkvgui/src/qtstr.h:39: error: expected ‘,’ or ‘;’ before ‘{’ token
makemkvgui/src/qtstr.h:44: error: variable or field ‘QStringFixLen’ declared void
makemkvgui/src/qtstr.h:44: error: ‘QString’ was not declared in this scope
makemkvgui/src/qtstr.h:44: error: ‘str’ was not declared in this scope
makemkvgui/src/qtstr.h:50: error: ‘QString’ does not name a type
makemkvgui/src/qtstr.h:60: error: variable or field ‘append_const’ declared void
...
tmp/../makemkvgui/src/settingdlg.h:86: error: expected ‘;’ before ‘public’
tmp/../makemkvgui/src/settingdlg.h:91: error: ISO C++ forbids declaration of ‘QTabWidget’ with no type
tmp/../makemkvgui/src/settingdlg.h:91: error: expected ‘;’ before ‘*’ token
tmp/../makemkvgui/src/settingdlg.h:92: error: ISO C++ forbids declaration of ‘QDialogButtonBox’with no type
tmp/../makemkvgui/src/settingdlg.h:92: error: expected ‘;’ before ‘*’ token
tmp/../makemkvgui/src/settingdlg.h:101: error: expected `:' before ‘slots’
tmp/../makemkvgui/src/settingdlg.h:102: error: expected primary-expression before ‘void’
tmp/../makemkvgui/src/settingdlg.h:102: error: ISO C++ forbids declaration of ‘slots’ with no type
tmp/../makemkvgui/src/settingdlg.h:102: error: expected ‘;’ before ‘void’
tmp/moc_settingdlg.cpp:20: error: expected constructor, destructor, or type conversion before ‘static’
tmp/moc_settingdlg.cpp:41: error: ‘QMetaObject’ does not name a type
tmp/moc_settingdlg.cpp:46: error: expected initializer before ‘*’ token
tmp/moc_settingdlg.cpp:51: error: no ‘void* CGeneralTab::qt_metacast(const char*)’ member function declared in class ‘CGeneralTab’
tmp/moc_settingdlg.cpp:59: error: ‘int CGeneralTab::qt_metacall’ is not a static member of ‘class CGeneralTab’
tmp/moc_settingdlg.cpp:59: error: ‘QMetaObject’ has not been declared
tmp/moc_settingdlg.cpp:59: error: expected primary-expression before ‘int’
tmp/moc_settingdlg.cpp:59: error: expected primary-expression before ‘void’
tmp/moc_settingdlg.cpp:59: error: initializer expression list treated as compound expression
tmp/moc_settingdlg.cpp:60: error: expected ‘,’ or ‘;’ before ‘{’ token
make: *** [out/makemkv.full] Error 1
thanks,
john