Hi Michael,
The problem is related to the newmat library. The SP function is defined as:
MatrixType MatrixType::SP(const MatrixType& mt) const;
However, in the cpp file, it uses SP(a, b). It uses two parameters. Is this
caused problem?
Plus, I am working on Fedora Core 5 (64-bit).
Thanks.
Wayne
On 7/26/06 11:32 AM, "Michael Hanke" <[log in to unmask]> wrote:
> Hi,
>
> this is a problem with an old version of the newmat library and is
> probably fixed with the current upstream release.
>
> I can confirm, that there is no 64bit-related problem with the latest
> newmat version in Debian. So if the current upstream release does not
> work for you, you might want to have a look at the Debian patch (which
> should contain anything you need to solve your problem):
>
> http://packages.debian.org/unstable/source/newmat
>
> Bye,
>
> Michael
>
>
> On Wed, Jul 26, 2006 at 11:09:14AM -0700, Wayne Su wrote:
>> Hello,
>>
>> I followed the instructions from FSL website to compile the fslview on
>> 64-bit FC5. Everything was fine except the last step. When I tried to
>> compile the fslview source, I got following message:
>>
>> Scanning dependencies of target znz
>> Building C object znzlib/CMakeFiles/znz.dir/znzlib.o
>> Linking C static library ../lib/libznz.a
>> Scanning dependencies of target niftiio
>> Building C object niftiio/CMakeFiles/niftiio.dir/nifti1_io.o
>> Linking C static library ../lib/libniftiio.a
>> Scanning dependencies of target fslio
>> Building C object fslio/CMakeFiles/fslio.dir/fslio.o
>> Linking C static library ../lib/libfslio.a
>> Scanning dependencies of target miscmaths
>> Building CXX object miscmaths/CMakeFiles/miscmaths.dir/miscmaths.o
>> /usr/local/fsl/src/miscmaths/miscmaths.h: In function ¹'float
>> MISCMATHS::dot(cons t NEWMAT::ColumnVector&, const NEWMAT::ColumnVector&)':
>> /usr/local/fsl/src/miscmaths/miscmaths.h:171: error: 'SP' was not declared
>> in th is scope
>> /usr/local/fsl/src/miscmaths/miscmaths.cc: In function
>> 'NEWMAT::ReturnMatrixX MI SCMATHS::corrcoef(const NEWMAT::Matrix&, int)':
>> /usr/local/fsl/src/miscmaths/miscmaths.cc:1725: error: 'SP' was not declared
>> in this scope
>> /usr/local/fsl/src/miscmaths/miscmaths.cc: In function 'void
>> MISCMATHS::ols(cons t NEWMAT::Matrix&, const NEWMAT::Matrix&, const
>> NEWMAT::Matrix&, NEWMAT::Matrix& , NEWMAT::Matrix&)':
>> /usr/local/fsl/src/miscmaths/miscmaths.cc:1949: error: 'SP' was not declared
>> in this scope
>> make[2]: *** [miscmaths/CMakeFiles/miscmaths.dir/miscmaths.o] Error 1
>> make[1]: *** [miscmaths/CMakeFiles/miscmaths.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Packages installed:
>> FSL 3.3.7
>> VTK 5.01 release
>> BOOST 1.33.1-5.x86_64
>> Qt 3.3.6-0.4.fc5.x86_64
>> Qwt 4.2.0
>> Cmake 2.2.3-3.fc5.x86_64
>>
>>
>> Your help is appreciated.
>>
>> Wayne
>>
>> --
>>
>> Wayne Su
>> IT Coordinator
>>
>> Centre for Complex Disorders
>> Department of Psychiatry
>> RM260-828 W 10th Ave
>> VGH Research Pavilion
>> Vancouver, BC
>> V5Z 1L8
>>
>> Tel: 604-875-4111 ext 68569
>> Fax: 604-875-4376
|