Help compiling Distance toolbox

49 views
Skip to first unread message

Aya Ben Yakov

unread,
Jun 8, 2009, 4:39:48 AM6/8/09
to distance...@googlegroups.com
Hi

I'm trying to compile the Distance toolbox, and haven't been successful so far, I was hoping you could help. I tried following all the steps in the HOWTOMEX_windows (except the ToroiseSVN, which didn't work - I got an error that the remote host forcibly closed the connection), but I'm still getting the same error I got before, which is:
 ... Compiling C-file: 'E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c'
Error E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c: 32  illegal use of type name `gsl_vector_long'
... (afterwards there's a long list of errors, but probably only the first is relevant)
 
  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c' failed.
 
??? Error using ==> setup at 292
Compilation failed for 'E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c'...

For some reason it doesn't seem to recognize gsl_vector_long. I downloaded the latest version of GSL, 1.12.

Also - I use BrainVoyager, not SPM, so I won't have files in the right format. Is there some detailed explanation about the required format that I could use in order to convert the files I have from BV?

Thanks!
Aya

Alexis Roche

unread,
Jun 8, 2009, 7:53:13 AM6/8/09
to Distance toolbox
Hi Aya,

Indeed, the mixed-effect code has moved to the nipy project
(neuroimaging.scipy.org) and the matlab version is now longer
maintained. However, the current Distance should still work. (At the
moment, I am not advising you to use the python implementation as it
hasn't reached yet the "user friendly" phase).

I must warn you that building Distance on microsoft windows is a bit
of a nightmare, and this is the main reason why we provide a binary
distribution:

http://groups.google.com/group/distance-toolbox/web/DISTANCE3beta.zip

Please try that one first. If the binaries do not work, and you have
plenty of time to lose, here are some guidelines on how to build the
mex files from scratch:

http://distance-toolbox.googlegroups.com/web/HOWTOMEX_windows.txt

Also,

> 'E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c'
> Error E:\aya\Matlab\DISTANCE3beta\DISTANCE\fff_lite\core\fff_field.c: 32
> illegal use of type name `gsl_vector_long'

Sounds like your GSL version is too recent. Try GSL <= 1.10 (we have
stopped testing our code with later GSL versions).


> Also - I use BrainVoyager, not SPM, so I won't have files in the right
> format. Is there some detailed explanation about the required format that I
> could use in order to convert the files I have from BV?

No idea about that, sorry. I'm not a BV user.

Cheers,

Alexis
Reply all
Reply to author
Forward
0 new messages