From: Alessandro C. <ale...@un...> - 2009-02-13 15:07:30
|
Dear all, encouraged by Bobby's post I tried to compile SGeMS on my Linux machine again. - A first problem apparently related to the python2.5 distributed with OpenSUSE was solved installing from the sources python 2.4.5. - A second problem, probably related to the fact that I have both qt3 and qt4 on my pc and by default "qmake" is the one from qt4, was solved using "/usr/lib/qt3/bin/qmake" and setting in ".qmake.cache" "QMAKESPEC = /usr/lib/qt3/mkspecs/linux-g++-64" Doing this "make" progresses for some minute, until this error: ------------------------------------------------------------------------------------------------------------------------------ [...] /usr/lib/qt3/bin/moc -I/usr/lib/qt3/mkspecs/linux-g++-64 -I. -I/usr/lib/qt3/include -I. -I/opt/GsTL-1.3 -I/home/UNINE.CH/comuniana/temp/SGeMS-2.0 -I. -I. -I/usr/include qwt_legend.h -o moc_qwt_legend.cpp Qt meta object compiler moc: Invalid argument Usage: moc [options] <header-file> -o file Write output to file rather than stdout -f[file] Force #include, optional file name -p path Path prefix for included file -i Do not generate an #include statement -k Do not stop on errors -nw Do not display warnings -v Display version of moc make[2]: *** [moc_qwt_legend.cpp] Error 1 make[2]: Leaving directory `/home/UNINE.CH/comuniana/temp/SGeMS-2.0/GsTLAppli/extra/qwt' make[1]: *** [sub-extra-qwt-make_default] Error 2 make[1]: Leaving directory `/home/UNINE.CH/comuniana/temp/SGeMS-2.0/GsTLAppli' ------------------------------------------------------------------------------------------------------------------------------ Do you have any idea about how to fix this? Thank you in advance, Alessandro p.s. I also tried with the cvs version of GsTLAppli and GsTLAppli-qt4 (using the default qmake) but I have no improvements. |