Thanks for your suggestions! I'll try "make fslview".
However I have a doubt about QTDIR: I installed Qt using static -option:
./configure -platform solaris-g++ -static -prefix /home/local/qt -fast -thread
Can this be "the" problem? Shuold I install shared Qt libraries?
Thanks!
Michela
On 4/3/08, Dave Flitney <[log in to unmask]> wrote:
> On 28 Mar 2008, at 08:32, Michela Pievani wrote:
>
>
> > 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.
> >
>
>
> > 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)
> >
>
> Looks like it isn't finding the Qt libraries at link time. Have you set
> QTDIR properly?
>
>
> > 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.
> >
>
> To edit the flags try "make edit_cache" (launches the CMake config editor)
> then press "t" to see all the possible config options. If you switch
> CMAKE_VERBOSE_MAKEFILE to ON then it will output the compilation/link
> commands on the terminal.
>
> You might like to try "make fslview" as this will skip building atlasquery
> as it may just be that which is broken.
>
>
> > 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?
> >
>
> No, fslview can only be built once you've installed VTK, Qt etc., so it is
> separated out. The src/fslview directory is only there for completeness.
>
> FYI. I'm using CMake because: VTK uses it so your compilation will
> automatically match your VTK build; CMake supports Qt and Qwt; it was very
> easy to convert our library Makefiles into CMake compatible files; it stands
> a very good chance of compiling on systems I don't have experience with or
> access to. These goals are hard to achieve with other compilation
> environments so I haven't put additional effort into alternatives.
>
>
> > If someone installed FSLview on SOLARIS had similar problems and could
> give me suggestions, it would be really helpful to me!
> > Thanks!
> > Michela Pievani
> >
> >
>
> Cheers, Dave
>
> --
> Dave Flitney, IT Manager
> Oxford Centre for Functional MRI of the Brain
> E:[log in to unmask] W:+44-1865-222713 F:+44-1865-222717
> URL: http://www.fmrib.ox.ac.uk/~flitney
>
|