I try to compile llcon with (K)ubuntu 12.04. but there is following error:
qt4 -Isrc -Ilibs/celt -I. -I. -o moc_multicolorled.o moc_multicolorled.cpp
moc_multicolorled.cpp:14:2: Fehler: #error "This file was generated using the moc from 4.7.0. It"
moc_multicolorled.cpp:15:2: Fehler: #error "cannot be used with the include files from this version of Qt."
moc_multicolorled.cpp:16:2: Fehler: #error "(The moc has changed too much.)"
make: *** Fehler 1
What is the problem?
Best regards
Muzel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same issue trying to compile Jamulus on Slackware64 14.1 with Qt 4.8.5 and 5.2.0. The problem seems to be that the source tarball comes with moc_ files that are precompiled using Qt 4.6.3. So, if that isn't the version that you are using then it will fail. That is why doing a cvs checkout will work because it doesn't include the moc_ files.
Running 'rm -f moc_' before running 'qmake Jamulus.pro' recreates the moc_ files. I'm not sure why the source tarball ships with these files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to compile llcon with (K)ubuntu 12.04. but there is following error:
qt4 -Isrc -Ilibs/celt -I. -I. -o moc_multicolorled.o moc_multicolorled.cpp
moc_multicolorled.cpp:14:2: Fehler: #error "This file was generated using the moc from 4.7.0. It"
moc_multicolorled.cpp:15:2: Fehler: #error "cannot be used with the include files from this version of Qt."
moc_multicolorled.cpp:16:2: Fehler: #error "(The moc has changed too much.)"
make: *** Fehler 1
What is the problem?
Best regards
Muzel
This sounds like I should update my Ubuntu partition on which I do the Linux releases…
As a workaround you could use the current source code which is in the CVS:
cvs -z3 -d:pserver:anonymous@llcon.cvs.sourceforge.net:/cvsroot/llcon co -P llcon
cd llcon
qmake llcon.pro
make
That should hopefully work (I cannot try it out at the moment).
Hi,
super! It works.
Thank you.
Muzel
I have the same issue trying to compile Jamulus on Slackware64 14.1 with Qt 4.8.5 and 5.2.0. The problem seems to be that the source tarball comes with moc_ files that are precompiled using Qt 4.6.3. So, if that isn't the version that you are using then it will fail. That is why doing a cvs checkout will work because it doesn't include the moc_ files.
Running 'rm -f moc_' before running 'qmake Jamulus.pro' recreates the moc_ files. I'm not sure why the source tarball ships with these files.