mltframework / mlt-scripts

scripts to help build open source MLT apps

Home Page:https://www.mltframework.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: missing binary operator before token "("

doitux opened this issue · comments

I run into a problem when trying to compile kdenlive via build-kdenlive.sh script:

cc -I/home/doitux/Programme/kdenlive-build/builds//20190731/include -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC    -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I.. -rdynamic -DVERSION=\"6.17.0\" -DHAVE_SDL2 -D_REENTRANT -I/usr/include/SDL2   -c -o io.o io.c
cc -o melt melt.o io.o -L/home/doitux/Programme/kdenlive-build/builds//20190731/lib -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../framework -lmlt -lpthread -lSDL2
make[1]: Leaving directory '/home/doitux/Programme/kdenlive-build/builds/src/mlt/src/melt'
qimage_wrapper.cpp:371:35: error: missing binary operator before token "("
 #if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
                                   ^
consumer_qglsl.cpp:25:34: error: missing binary operator before token "("
 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
                                  ^
consumer_qglsl.cpp:157:34: error: missing binary operator before token "("
 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
                                  ^
consumer_qglsl.cpp:181:34: error: missing binary operator before token "("
 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
                                  ^
consumer_qglsl.cpp:208:34: error: missing binary operator before token "("
 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
                                  ^
make[2]: *** [Makefile:61: depend] Error 1
make[1]: *** [Makefile:5: depend] Error 1
make: *** [Makefile:9: all] Error 1
ERROR: Unable to build mlt
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build mlt
doitux@doitux-W65-67SZ:~/Programme/kdenlive-build$ 

Any idea what is going wrong there and howto fix this?

Do you have qt5-dev (or similar) package installed?
See related:
mltframework/mlt#209
https://forum.kde.org/viewtopic.php?f=269&t=128141

Thanks for the hint. I need to install some additional qt devel libs since they where splitted i different modules now.