Hi all,
I have some problems in building fslview on SOLARIS SPARC.
I installed FSL4 successfully, but when I try to install fslview I get this errror.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Scanning dependencies of target atlasquery
Building CXX object src/fslview/CMakeFiles/atlasquery.dir/atlasquery.o
Linking CXX executable ../../bin/atlasquery
Undefined first referenced
symbol in file
QObject::tr(char const*, char const*)/home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QGList::write(QDataStream&, void*) const/home/local/builds/fslview/lib/libutilities.a(filemanager.o)
qWarning(char const*, ...) /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QDomNode::nodeName() const /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QFile::open(int) /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
.......
QString::operator+=(QString const&) /home/local/builds/fslview/lib/libutilities.a(lookuptable.o)
typeinfo for QPtrCollection /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QFile::QFile(QString const&) /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QString::QString(QString const&) /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
.......
QString::shared_null /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
QDir::operator[](int) const /home/local/builds/fslview/lib/libutilities.a(filemanager.o)
ld: fatal: Symbol referencing errors. No output written to ../../bin/atlasquery
collect2: ld returned 1 exit status
make[2]: *** [bin/atlasquery] Error 1
make[1]: *** [src/fslview/CMakeFiles/atlasquery.dir/all] Error 2
make: *** [all] Error 2
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I suspect it is related to Qt, but I don't known where to look for (paths, FLAGS, shared/dinamic libraries, eccc...).
Qt, Qwt, VTK and boost have been installed and pathed. I'm building fslview with CMake in /home/local/builds. It works fine for these libraries: znz, niftiio, fslio, newmat, prob, miscmaths, utils, opttst, storage, utillities, but fails on atlasquery.
As an alternative to CMake, is there a way to install fslview by making and installing the packages in $FSLDIR/src/fslview/src? How can I create a config file in this case? Do I need to rebuild the znz, fslio, ecc... packages, as they have already been installed with FSL distribution?
If someone installed FSLview on SOLARIS had similar problems and could give me suggestions, it would be really helpful to me!
Thanks!
Michela Pievani
|