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
|