[Tirius-users] problem with compiling Tirius
Status: Alpha
Brought to you by:
jdleroux
From: Taleb D. <dt...@ul...> - 2009-10-14 07:25:10
|
Hello users, I had installed Tirius on my Linux computer but I had to make some changes especially i had to add a scanner type so i modified the file GateParamEmpty.h .cpp etc and changed its name in GParamEcathr.h .cpp. Anyway i think I did something wrong because when i recompile tirius i have a bug: [root@pexp24 Tirius]# make g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.3.4/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.3.4/include/QtCore -I/usr/local/Trolltech/Qt-4.3.4/include/QtCore -I/usr/local/Trolltech/Qt-4.3.4/include/QtGui -I/usr/local/Trolltech/Qt-4.3.4/include/QtGui -I/usr/local/Trolltech/Qt-4.3.4/include -I. -I. -o GateCoincData.o GateCoincData.cpp GateParam.h:68: warning: unused parameter ‘addD1’ GateParam.h:68: warning: unused parameter ‘volumeD1’ GateParam.h:68: warning: unused parameter ‘nbEvent’ GateParam.h:69: warning: unused parameter ‘addD1’ GateParam.h:69: warning: unused parameter ‘addD2’ GateParam.h:69: warning: unused parameter ‘volumeD1’ GateParam.h:69: warning: unused parameter ‘volumeD2’ GateParam.h:69: warning: unused parameter ‘nbEvent’ GateCoincData.cpp: In member function ‘mINT cGateCoincData::LoadCoincToSinogram(char*, ICount*, stSinogram*, mINT)’: GateCoincData.cpp:785: error: ‘cGParamEmpty’ was not declared in this scope GateCoincData.cpp:785: error: expected `;' before ‘scanner4’ GateCoincData.cpp:786: error: expected `;' before ‘scanner5’ GateCoincData.cpp:787: error: expected `;' before ‘scanner6’ GateCoincData.cpp:788: error: expected `;' before ‘scanner7’ GateCoincData.cpp:789: error: expected `;' before ‘scanner8’ GateCoincData.cpp:790: error: expected `;' before ‘scanner9’ GateCoincData.cpp:791: error: expected `;' before ‘scanner10’ GateCoincData.cpp:807: error: ‘scanner4’ was not declared in this scope GateCoincData.cpp:808: error: ‘scanner5’ was not declared in this scope GateCoincData.cpp:809: error: ‘scanner6’ was not declared in this scope GateCoincData.cpp:810: error: ‘scanner7’ was not declared in this scope GateCoincData.cpp:811: error: ‘scanner8’ was not declared in this scope GateCoincData.cpp:812: error: ‘scanner9’ was not declared in this scope GateCoincData.cpp:813: error: ‘scanner10’ was not declared in this scope make: *** [GateCoincData.o] Error 1 [root@pexp24 Tirius]# Actually do I have to rm all the .o each time compilation goes wrong? I sent my paramters files if anyone had this problem before. Thank you for ANY help. -- Dounia Taleb Imagerie medicale experimentale - Département de physique Université de Liège - Institut de Physique, B5 B-4000 Liège 1 (Sart-Tilman) - Belgique Tel: +32-4-3663152 -- Dounia Taleb Imagerie medicale experimentale - Département de physique Université de Liège - Institut de Physique, B5 B-4000 Liège 1 (Sart-Tilman) - Belgique Tel: +32-4-3663152 |