[FieldTrip] WG:

Karch, Julian karch at mpib-berlin.mpg.de
Fri Jan 21 16:49:20 CET 2011


Hello,

i just tried to go through the Multivariates Tutorial (http://fieldtrip.fcdonders.nl/tutorial/multivariateanalysis) unluckly when i typed "stat = ft_timelockstatistics(cfg,tleft,tright);" matlab aborted with the exit code: ??? Error using ==> tprod at 119
unable to compile MEX version of 'E:/julian/matlab/fieldtrip/multivariate/external/farquhar/tprod/tprod', please make sure
your
MEX compiler is set up correctly (try 'mex -setup').

I'm using MATLAB 7.10.0 64 Bit on Windows 7. I definitively have a working mex compiler as compiling the example yprime.c is working perfectly. I also tried to compile the files manually by typing mex('ddtprod.c','dstprod.c','sdtprod.c','sstprod.c','tprod_util.c','tprod_mex.c','mxInfo.c');. 

This resulted in the following output:

ddtprod.c 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(249) : error C2143: syntax error : missing ';' before 'type' 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(250) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(279) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(283) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(249) : error C2143: syntax error : missing ';' before 'type' 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(250) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(279) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(283) : error C2065: 'd' : undeclared identifier
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(249) : error C2143: syntax error : missing ';' before 'type' 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(250) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(279) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(283) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(249) : error C2143: syntax error : missing ';' before 'type' 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(250) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(276) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(277) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(278) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(279) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(280) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(283) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(284) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
e:\julian\matlab\fieldtrip\multivariate\external\farquhar\tprod\tprod.def(285) : error C2065: 'd' : undeclared identifier 
 
  C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'ddtprod.c' failed. 

Any suggestions?


Julian Karch
Research Assistant

Max Planck Institute for Human Development
Department Lifespan Psychology
Lentzeallee 94 
14195 Berlin
Tel.: 030 / 82406-294

Email: karch at mpib-berlin.mpg.de
Internet: www.mpib-berlin.mpg.de















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110121/e4df29c8/attachment-0001.html>


More information about the fieldtrip mailing list