Moc errors
-
Hi. I am trying to compile a project with the following error. I do not understand the error is coming from, starting with
qt_invoke(int, QUObject*)
onwards to the end. Since moc files are generated after calling qmake, I do not understand where moc problem is coming from. I am using Qt3.3.6 integrated with Rootv5.20 running on Linux version 2.6.18.
Looking at it if it were a subversion issue, Qt3.3.8 was also tried but with no success.
@
g++ -Wl,-rpath,/home/mcs/qt-3.3.8a/lib -o bin/picassoGUIobjs/AcquisitionThread.o objs/qMeasurement.o objs/qMeasurementWizard.o
objs/qMythenCanvas.o objs/main.o objs/qMythenMain.o
objs/qMythenMenuBar.o
objs/qAdvanced.o objs/qPlot.o objs/qCalibrationWizard.o
objs/qRangeWidget.o objs/qScans.o objs/qConfiguration.o
objs/qScanWidget.o
objs/qDataOutput.o objs/qTimeResolved.o objs/qDebugging.o
objs/qTimeWidget.o objs/qEditableList.o objs/qTrimming.o objs/qLog.o
objs/moc_AcquisitionThread.o objs/moc_qMeasurementWizard.o
objs/moc_qMythenCanvas.o objs/moc_qAdvanced.o objs/moc_qMythenMain.o
objs/moc_qCalibrationWizard.o objs/moc_qMythenMenuBar.o
objs/moc_qConfiguration.o objs/moc_qPlot.o objs/moc_qDataOutput.o
objs/moc_qRangeWidget.o objs/moc_qDebugging.o objs/moc_qScans.o
objs/moc_qScanWidget.o objs/moc_qTimeResolved.o objs/moc_qEditableList.o
objs/moc_qTimeWidget.o objs/moc_qLog.o objs/moc_qTrimming.o
objs/moc_qMeasurement.o -L/home/mcs/qt-3.3.8a/lib -L/usr/X11R6/lib
-Wl,-Bstatic -L../TMythenDetector/bin -lTMythenDetector -Wl,-Bdynamic
-Wl,-Bstatic -L../slsDetectorSoftware/bin -lSlsDetector -Wl,-Bdynamic
-L/home/l_common/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf
-lGraf3d
-lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread
-pthread -lm -ldl -rdynamic -L/home/l_common/root/lib -lGui -lGQt
-lqt-mt
-lXext -lX11 -lm -lpthread
objs/moc_qCalibrationWizard.o: In function
qCalibrationWizard::qt_invoke(int, QUObject*)': /home/l_common/newMythenSoftware/mythenGUI/mocs/moc_qCalibrationWizard.cpp:245: undefined reference to
qCalibrationWizard::checkFiles(int, float*)'
/home/l_common/newMythenSoftware/mythenGUI/mocs/moc_qCalibrationWizard.cpp:246:
undefined reference toqCalibrationWizard::checkFiles(int, float*)' /home/l_common/newMythenSoftware/mythenGUI/mocs/moc_qCalibrationWizard.cpp:247: undefined reference to
qCalibrationWizard::checkFiles(int, float*)'
collect2: ld returned 1 exit status
make: *** [bin/picassoGUI] Error 1
@[EDIT: code formatting, Volker]