<div dir="ltr">Hi Jason, Jonas<div>Thank you for a brief reply! I've been trying to run it exactly that way (using CMD or other command line tools) on different machines (W10 x64, W7 x64), with or without admin privileges, with or without legacy mode on. Every time it produces the same error. <br>Error 0xc00007b “the application was unable to start correctly" is common one, especially when 32 and 64-bit DLL versions are mixed or when some .NET dependencies are not present. </div><div>I've tried to compile it myself, like Jonas did, but I have no access to Fortran Compiler (since I have only Express edition of Visual Studio)... </div><div>Maybe Jonas could confirm that DLLs on <a href="http://sccn.ucsd.edu/~jason/amica_web.html">http://sccn.ucsd.edu/~jason/amica_web.html</a> are for x64 version of Windows and no additional dependences (eg. from a specific version of .NET or Visual Studio) is needed. </div><div>Anyway, thanks a lot for an effort and sharing this software.</div><div>Regards,</div><div>Pawel</div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">pon., 21.03.2016 o 13:16 użytkownik Jason Palmer <<a href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Hi Pawel,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Sorry about the trouble you’re having …  I’m not sure how to interpret that error code. Have you tried running it from the command line? … I.e. run cmd.exe, change to the amica directory, and type,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p style="margin-left:.75in"><u></u><span style="font-size:11.0pt;font-family:Wingdings;color:black"><span>Ø<span style="font:7.0pt "Times New Roman"">  </span></span></span><u></u><span dir="LTR"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">amica15mkl.exe amicadefs.param<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Usually if it fails it will either complain about missing DLLs, or produce a segmentation fault.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Jonas kindly replied previously that the DLLs posted on the amica download website work on his win10 x64 machine, so I don’t think the problem is corrupted DLLs.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Best,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Jason<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Paweł Augustynowicz [mailto:<a href="mailto:pawel.augustynowicz@gmail.com" target="_blank">pawel.augustynowicz@gmail.com</a>] <br><b>Sent:</b> Monday, March 21, 2016 12:03 AM<br><b>To:</b> <a href="mailto:japalmer@ucsd.edu" target="_blank">japalmer@ucsd.edu</a>; <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br><b>Subject:</b> Re: [Eeglablist] Getting to run AMICA15 on windows 10 64bits - solving packaging problem with binary file<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Jason, <br>I also have been trying to start AMICA15. With no success yet... <u></u><u></u></p><div><p class="MsoNormal">After downloading fmpich2.dll and libiomp5md.dll from your website amica15mkl.exe gets another error code: 0xc000007b. <br>I've been trying to run it with provided Memorize.fdt dataset using default amicadefs.param file. I put everything inside one folder. <u></u><u></u></p></div><p class="MsoNormal">Is it a matter of wrong (corrupted) DLLs as Jonas mentioned? Are there any other prerequisites (except above-mentioned DLLs) to run a binary version of AMICA under W10 x64? <u></u><u></u></p><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Pawel<u></u><u></u></p></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><div><p class="MsoNormal">Pozdrawiam,<br>Paweł Augustynowicz<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2016-03-16 13:27 GMT+01:00 Jason Palmer <<a href="mailto:japalmer29@gmail.com" target="_blank">japalmer29@gmail.com</a>>:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Hi Jonas,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Thanks for searching out those DLLs, and sorry for the confusion—I have been unsure which if any DLLs were still necessary as I have been trying to compile as much into the binary statically as possible.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">I put links to fmpich2.dll and libiomp5md.dll on the amica website, and I changed runamica15.m to refer to loadmodout15.m and added a link for the latter to the website:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal" style="text-indent:.5in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><a href="http://sccn.ucsd.edu/~jason/amica_web.html" target="_blank">http://sccn.ucsd.edu/~jason/amica_web.html</a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">I have tried to make the mac binary self-contained as well, though I haven’t heard back that it is working for others yet. So if anyone finds that the mac binary is still missing something, please let me know. As far as I know, the Ubuntu binary is working ok.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Thanks,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Jason</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a> [mailto:<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a>] <b>On Behalf Of </b>Jonas Chatel-Goldman<br><b>Sent:</b> Monday, March 14, 2016 7:59 AM<br><b>To:</b> <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br><b>Subject:</b> [Eeglablist] Getting to run AMICA15 on windows 10 64bits - solving packaging problem with binary file</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><div><div><p class="MsoNormal"><span style="font-size:9.5pt">Hi all,</span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">This is to share some work-around I went through when trying (and finally managing) to run AMICA on my setup (windows 10 64bits, Matlab R2015a). </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><br>First I downloaded the latest version on Jason's website (<a href="http://sccn.ucsd.edu/~jason/amica_web.html" target="_blank">http://sccn.ucsd.edu/~jason/amica_web.html</a>) and tested the binary file 'amica15mkl.exe'. This failed outputing error that two lib files are missing: libiomp5md.dll and fmpich2.dll. </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Then I browsed the net and found Jason's GitHub (<a href="https://github.com/japalmer29/amica" target="_blank">https://github.com/japalmer29/amica</a>) with source code in Fortran. Jason gives some suggestions to compile it so as to create our own binary file... well, the least I can say is that for a naive user like me the whole process is not straightforward! It requires installing the costly Intel Fortran compiler. Though it exists in a free student version (<a href="https://software.intel.com/en-us/qualify-for-free-software/student" target="_blank">https://software.intel.com/en-us/qualify-for-free-software/student</a>), this is a huge software (>3Gb). Compiling the binary also requires installing mpich2 (<a href="http://www.mpich.org/downloads/" target="_blank">http://www.mpich.org/downloads/</a>), for which no simple windows installer is provided in the last versions.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">I wondered if I could find a simpler approach? Instead of recompiling everything, I tried to simply get the two missing lib file. I could obtain a proper libiomp5md.dll on some library repository website after having downloaded a few corrupted ones. Regarding fmpich2.dll, browsing internet and mpich website I could find a .msi windows installer for an older mpich2 version (<a href="http://www.mpich.org/static/downloads/1.4/" target="_blank">http://www.mpich.org/static/downloads/1.4/</a>). Installing this is straightforward and provides fmpich2.dll. Finally, putting the two lib files in the same folder as amica binary and I could run everything smoothly!</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Voilà, I hope this can help future windows users. If needed, I can provide the lib files directly.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Few suggestions and remarks:</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">- first of all big thanks for the hard work and dedication in providing and sharing code for these advanced signal processing tools!</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">- available info and files regarding AMICA are scattered in multiple websites with different information. For instance, Jason's website has the latest version but lacks necessary file 'loadmodout12.m'; the Amica plugin is not available from download within EEGlab; only GitHub has all necessary files but without precompiled binaries; lib files necessary to run amica (at least on windows) are not provided anywhere. This makes it not so straightforward  to get to run AMICA...</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">cheers,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><br clear="all"></span><u></u><u></u></p><div><div><p class="MsoNormal"><b><span style="font-size:9.5pt;color:#999999">Jonas</span></b><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><br>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></blockquote></div></div></div>