Veronica,
it seems, that your MATLAB is not happy with the precompiled mex-files
from SPM2. Assuming, that you have write permission for the directory
where SPM2 is installed and that all MATLAB program files are in your
search path, you can cd into your SPM2 software directory and try
make
there from a shell. This should rebuild the mex files.
Hope this helps,
Volkmar
On Sat, 17 Dec 2005, Veronica Smith wrote:
> Happy Holidays SPMers!
>
> I have been using SPM2 on a WinXP platform and recently installed it on a 64
> bit Linux box with RHE WS v4. When I attempted to display my own and SPM
> volumes on the Linux version, the information about the image comes up, but
> the axial, coronal and sag view boxes are empty. When trying the to view the
> gray.mnc volume, you will see below the messages/errors I received.
>
> I looked through the archive and was not able to identify the source of the
> problem. Any direction and guidance on how to resolve this problem would be
> most appreciated.
>
> Thanks in advance,
> Veronica
>
>
> SPM2: spm_render (v2.19) 11:54:45 - 16/12/2005
> ========================================================================
>
> SPM2: spm_getSPM (v2.51) 11:54:49 - 16/12/2005
> ----------------------------------------------------------------
> ??? Error using ==> spm_get
> SPM file selector window was quit!
>
> Error in ==> spm_getSPM at 171
> swd = spm_str_manip(spm_get(1,'SPM.mat','Select SPM.mat'),'H');
>
> Error in ==> spm_render at 44
> [SPM,VOL] = spm_getSPM;
>
> Error in ==> spm at 1276
> evalin('base',CBs{v-1})
>
> ??? Error while evaluating uicontrol Callback.
>
>
> ~ - SPM2: DICOM toolbox -------------------------------------------
>
> Toolbox directory prepended to MatLab path:
> /usr/local/matlab7/toolbox/spm2/toolbox/DICOM
>
> ----------------------------------------- 11:55:16 - 16/12/2005
>
>
> SPM2: spm_image (v2.20) 11:55:21 - 16/12/2005
> ========================================================================
> Image "/usr/local/matlab7/toolbox/spm2/apriori/gray.mnc" can not be resampled
> Image "/usr/local/matlab7/toolbox/spm2/apriori/gray.mnc" can not be resampled
> Image "/usr/local/matlab7/toolbox/spm2/apriori/gray.mnc" can not be resampled
> ??? Invalid MEX-file '/usr/local/matlab7/toolbox/spm2/spm_sample_vol.mexa64':
> /usr/local/matlab7/toolbox/spm2/spm_sample_vol.mexa64: undefined symbol:
> free_maps.
>
> Error in ==> spm_image at 101
> set(st.in,'String',sprintf('%g',spm_sample_vol(st.vols{1},pos(1)
> ,pos(2),pos(3),st.hld)));
>
> Error in ==> spm_orthviews at 230
> eval(st.callback);
>
> ??? Error while evaluating axes ButtonDownFcn.
>
> Image "/usr/local/matlab7/toolbox/spm2/apriori/gray.mnc" can not be resampled
> ??? Invalid MEX-file '/usr/local/matlab7/toolbox/spm2/spm_sample_vol.mexa64':
> /usr/local/matlab7/toolbox/spm2/spm_sample_vol.mexa64: undefined symbol:
> free_maps.
>
> Error in ==> spm_image at 101
> set(st.in,'String',sprintf('%g',spm_sample_vol(st.vols{1},pos(1)
> ,pos(2),pos(3),st.hld)));
>
> Error in ==> spm_orthviews at 230
> eval(st.callback);
>
> ??? Error while evaluating axes ButtonDownFcn.
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|