Back to the main page.

Bug 2010 - CalcMD5 is not compiled for mac 32-bit matlab

Reported 2013-02-27 12:03:00 +0100
Modified 2014-05-14 20:08:51 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Eelke Spaak - 2013-02-27 12:03:22 +0100

as we found out at the Tuebingen workshop just now (we worked it out by compiling locally and distributing on USB for those who needed it)

Robert Oostenveld - 2014-04-24 14:31:29 +0200

I noticed a retweet of an email from Rodrigo. The mex file is still missing. Since maintaining 32 bit mex files in the future might be more often problematic, we should try to make the code more robust against mex files missing. In this case it is not part of a crucial computation and an alternative is possible. mac011> cd fieldtrip mac011> find . -name CalcMD5\* ./external/fileexchange/CalcMD5.c ./external/fileexchange/CalcMD5.COPYING ./external/fileexchange/CalcMD5.m ./external/fileexchange/CalcMD5.mexa64 ./external/fileexchange/CalcMD5.mexglx ./external/fileexchange/CalcMD5.mexmaci64 ./external/fileexchange/CalcMD5.mexw32 ./external/fileexchange/CalcMD5.mexw64 I don't have a 32 bit OSX machine any more. @Eelke, do you still have the mex file? If not, we can ask Rodrigo (CC) to cd into fieldtrip/external/fileexchange and type "mex -setup; mex CalcMD5.c"

Robert Oostenveld - 2014-05-08 21:53:46 +0200

I have installed MATLAB2009b 32-bit on my MacBook with OS X 10.9.2 Mavericks. It was a bit of a hassle to get it working with the mex compiler, but with some tweaks to and following it appears to work. I ran ft_compile_mex: a number of mex files were recompiled and the missing mex file was created. mac011> svn commit src external/ Adding (bin) external/fileexchange/CalcMD5.mexmaci Sending src/det2x2.mexmaci Sending src/inv2x2.mexmaci Sending src/mtimes2x2.mexmaci Sending src/nanmean.mexmaci Sending src/nanstd.mexmaci Sending src/nanvar.mexmaci Sending src/sandwich2x2.mexmaci Transmitting file data ........ Committed revision 9474. It is possible to download the latest version of field trip, which includes the new mex file. As an alternative, you can also download only the mex file from and add it to your field trip/external/fileexchange directory. I hope this resolves it.

Robert Oostenveld - 2014-05-14 20:08:51 +0200

closed several of my bugs that have been resolved