Hi there,
Thanks for all your help so far. However I am a little stuck for
getting the lib versions right for
compiling fslview (from 4.1.3 fsl source) on sled 10.2.
As you know i followed the install instructions on
http://fsl.fmrib.ox.ac.uk/fsl/fslviewbuild/prereqs.html
using the latest version of the dependant libraries but that did not work.
I have tried going back using cmake 2.2.3 as my build base for vtk and
fslview and
using the following libs however I am still getting errors.
cmake 2.2.3 ( so I'm going to keep CMakeLists.txt lines with FSL in
the fslview/fsl/*prob* folders )
boost 1.33.1
vtk 5.0.4
qwt 4.2.0
qt3
fsl 4.1.3 <-- does this need to be 3.3.x?
my cmake line:
cmake /gpfs/software/fsl/4.1.3/src/fslview -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/gpfs/software/fslview
-DVTK_DIR=/gpfs/software/vtk/5.0.4/lib/vtk-5.0
-DBOOST_DIR=/gpfs/software/boost/1.33.1
-DQWT_DIR=/gpfs/software/qwt/4.2.0
Cheers,
Spiro
My output is:
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Looking for XOpenDisplay in
/usr/X11R6/lib64/libX11.so;/usr/X11R6/lib64/libXext.so
-- Looking for XOpenDisplay in
/usr/X11R6/lib64/libX11.so;/usr/X11R6/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
CMake Error: Error in cmake code at
/gpfs/software/fsl/4.1.3/src/fslview/src/fslview/CMakeLists.txt:195:
Unknown CMake command "INSTALL".
CMake Error: Error in cmake code at
/gpfs/software/fsl/4.1.3/src/fslview/src/fslview/CMakeLists.txt:206:
Unknown CMake command "INSTALL".
CMake Error: Error in cmake code at
/gpfs/software/fsl/4.1.3/src/fslview/doc/fslview/CMakeLists.txt:4:
Unknown CMake command "INSTALL".
-- Configuring done
2009/5/15 Dave Flitney <[log in to unmask]>:
> Hi Spiro,
>
> Turns out that a change to boost somewhere between 1.33.x and 1.39.x (?) changed make_shared's syntax(now templated) and semantics(no longer does what I used it for)! And there's no reasonable description of what happened. Aggh!
>
> Well, my use of it was a bit of a hack and I'm trying to refactor it so it no longer needs this kludge. In the meantime you could revert to 1.33.x of boost.
>
> ------Original Message------
> From: Spiro Stathakis
> Sender: FSL - FMRIB's Software Library
> To: [log in to unmask]
> ReplyTo: FSL - FMRIB's Software Library
> Subject: [FSL] fslview compile problems [error: ‘make_shared’ is not a member of ‘boost’]
> Sent: 15 May 2009 05:56
>
> Hi there,
>
> Still getting errors compiling fslview... this time:
>
> [ 23%] Building CXX object src/fslview/CMakeFiles/utilities.dir/atlas.o
> /gpfs/software/fsl/4.1.3/src/fslview/src/fslview/cursor.h: In member
> function ‘boost::shared_ptr<Cursor> Cursor::countedThis() const’:
> /gpfs/software/fsl/4.1.3/src/fslview/src/fslview/cursor.h:52: error:
> ‘make_shared’ is not a member of ‘boost’
> make[2]: *** [src/fslview/CMakeFiles/utilities.dir/atlas.o] Error 1
> make[1]: *** [src/fslview/CMakeFiles/utilities.dir/all] Error 2
> make: *** [all] Error 2
>
> ( I am running boost 1.39.0 )
>
> Cheers,
>
> Spiro
>
>
>
> Sent using BlackBerry® from Orange
|