[MINC-users] EMMA tools for Cygwin

Paul GRAVEL pgravel at bic.mni.mcgill.ca
Thu Jul 26 12:39:57 EDT 2012


Hi All!

I think I got it!

Line 87 of niak_read_hdr_minc.m was modified from:
[flag,str_header] = system(cat(2,'mincheader.exe ',file_name));

to:

[flag,str_header] = system(cat(2,'bash -c "mincheader ',file_name,'"'));

so it ensures calling the mincheader command using cygwin's bash, instead 
of windows.

Many thanks again!

Paul


On Thu, 26 Jul 2012, Paul GRAVEL wrote:

> Many Thanks Claude!
>
> Unfortunately, I still have the same problem with mincheader, and indeed it 
> seems to be the 64-bit architecture that is causing the problem... But the 
> question remains: why would it run fine in Cygwin (which is installed on the 
> Windows XP x64 machine), but not when called via Windows, while tools like 
> mincinfo runs fine in both cygwin and matlab?
>
> In the meantime I will verify if there is a way to call commands from matlab 
> by specifying a 32-bit flag...
>
> Best,
>
> Paul
>
> On Thu, 26 Jul 2012, Claude LEPAGE wrote:
>
>> Paul,
>> 
>>> I think someone has asked the following question previously, but just to
>>> bu sure: where can I find the latest MINC source files to be recompiled
>>> for Cygwin?
>> 
>> I have some here:
>> 
>> http://www.bic.mni.mcgill.ca/users/claude/cygwin_nt-5.1-1.7.7.tar.gz
>> 
>> Basic minc tools, but likely enough for most users. This is a non-official
>> package. Use at your own risks. It's 32 bits.
>> 
>> Claude
>> 
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>> 
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list