Hi Dave,
Thanks for the recommendations.
Using the 1.33.1 boost lib and all ok on that front...
New problem is that if fails further down the line :
Linking CXX static library ../../lib/libui.a
[ 80%] Built target ui
Scanning dependencies of target fslview
[ 80%] Building CXX object src/fslview/CMakeFiles/fslview.dir/main.o
/gpfs/software/fsl/4.1.3/src/fslview/src/fslview/main.cpp: In function
‘int main(int, char**)’:
/gpfs/software/fsl/4.1.3/src/fslview/src/fslview/main.cpp:125: error:
‘class Utilities::OptionParser’ has no member named ‘brief_usage’
/gpfs/software/fsl/4.1.3/src/fslview/src/fslview/main.cpp:141: error:
‘class Utilities::OptionParser’ has no member named ‘brief_usage’
make[2]: *** [src/fslview/CMakeFiles/fslview.dir/main.o] Error 1
make[1]: *** [src/fslview/CMakeFiles/fslview.dir/all] Error 2
make: *** [all] Error 2
Is there anything I can do to fix?
Cheers!
Spiro
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
|