[Tirius-users] Problems about install TiriusProject_v1.0_Beta in fedora core 13 with using Qt versi
Status: Alpha
Brought to you by:
jdleroux
From: shahrokh n. <sha...@gm...> - 2012-02-29 20:59:03
|
Hi, Dear Tirius users and developers I have some problems about the installation of Tirius (TiriusProject_v1.0_Beta). I want to install Tirius in my computer having fedora core 13 with the following system information: [sn@localhost ~]$ uname -a Linux localhost.localdomain 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686 i686 i386 GNU/Linux Although I do not qmake command in my system, I can use qmake-qt4 command in fedora core 13, with the following version information: [sn@localhost ~]$ qmake-qt4 -v QMake version 2.01a Using Qt version 4.6.2 in /usr/lib In other words, I think that I do not need to install Qt, which mentioned in TiriusInstallation web page (the portion of Qt installation): [sn@localhost ~]$ rpm -qa | grep qt qt3-3.3.8b-29.fc13.i686 ibus-qt-1.3.0-1.fc13.i686 PackageKit-qt-0.6.3-1.fc13.i686 qt-x11-4.6.2-16.fc13.i686 polkit-qt-0.95.1-3.fc13.i686 qtcurve-kde4-1.3.0-1.fc13.i686 qt-sqlite-4.6.2-16.fc13.i686 qtcurve-gtk2-1.3.0-1.fc13.i686 qtscriptbindings-0.1.0-10.fc13.i686 qt-mysql-4.6.2-16.fc13.i686 qt-4.6.2-16.fc13.i686 poppler-qt4-0.12.4-2.fc13.i686 pinentry-qt-0.8.0-2.fc13.i686 qt-devel-4.6.2-16.fc13.i686 Or [sn@localhost ~]$ rpm -q qt qt-4.6.2-16.fc13.i686 For this reason, I think that I do not need to install the old version of Qt (qt-x11-opensource-src-4.3.4.tar.gz) again. Is it true? As mentioned in the web page of Tirius, I want to install Tirius with the following commands: [sn@localhost ~]$ cd ./TiriusProject_v1.0_Beta/ [sn@localhost TiriusProject_v1.0_Beta]$ ll -h total 2.5M -rwxr-xr-x. 1 sn sn 2.5M Feb 29 14:43 TiriusProject_v1.0_Beta.zip [sn@localhost TiriusProject_v1.0_Beta]$ unzip TiriusProject_v1.0_Beta.zip ... [sn@localhost TiriusProject_v1.0_Beta]$ ll -h total 2.5M drwxrwxr-x. 5 sn sn 4.0K Oct 22 2008 TiriusProject -rwxr-xr-x. 1 sn sn 2.5M Feb 29 14:43 TiriusProject_v1.0_Beta.zip At this time, I comment “TIRIUS += use_stir” line in the “tirius.pro” file and also comment the “#define USE_STIR” line in the “InterfaceGlobal.h” file, and then: [sn@localhost TiriusProject_v1.0_Beta]$ cd ./TiriusProject/Tirius/ [sn@localhost Tirius]$ qmake tirius.pro Command not found. Similar command is: 'make' [sn@localhost Tirius]$ qmake-qt4 tirius.pro [sn@localhost Tirius]$ At this point, when I enter make commad, I get the huge warnings and the final, I get the following errors unfortunately: [sn@localhost Tirius]$ make ... AlgoController.cpp: In member function ‘mINT AlgoController::InitDefault()’: AlgoController.cpp:151: error: ‘strcpy’ was not declared in this scope AlgoController.cpp: In member function ‘mINT AlgoController::LoadOneImageBin(char*, mINT, enSaveImgType)’: AlgoController.cpp:731: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result AlgoController.cpp:745: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result AlgoController.cpp: In member function ‘mINT AlgoController::UpdateOneImage(float*, stImageInfo*, int)’: AlgoController.cpp:796: error: ‘memcpy’ was not declared in this scope AlgoController.cpp: In member function ‘mINT AlgoController::ShowSinogram(int, int*, int*)’: AlgoController.cpp:1413: error: ‘strcpy’ was not declared in this scope AlgoController.cpp: In member function ‘mINT AlgoController::ReconstructAndSaveImage(char*, enSaveImgType, mINT, mINT)’: AlgoController.cpp:2533: warning: deprecated conversion from string constant to ‘char*’ AlgoController.cpp: In member function ‘mINT AlgoController::CopyString(char*, char*, int)’: AlgoController.cpp:3217: error: ‘strncpy’ was not declared in this scope AlgoController.cpp: In member function ‘mINT AlgoController::CopyString(char*, char*, char*, int)’: AlgoController.cpp:3237: error: ‘strncpy’ was not declared in this scope AlgoController.cpp:3238: error: ‘strncat’ was not declared in this scope make: *** [AlgoController.o] Error 1 [sn@localhost Tirius]$ As soon as possible, please guide me to solve my problem. Thanks a lot. Shahrokh |