问题
I have downloaded this code;
http://www.cs.sfu.ca/%7Emori/research/superpixels/superpixels64.tar.gz
In the readme file, it says;
- Run mex -largeArrayDims on *.c in yu_imncut directory -largeArrayDims is needed for 64bit architectures (thanks to Richard Lowe for providing fixes for 64bit MATLAB)
- Obtain mfm-pb boundary detector code from http://www.cs.berkeley.edu/projects/vision/grouping/segbench/
- Change path names in sp_demo.m and pbWrapper.m
- Get a fast processor and lots of RAM
- Run sp_demo.m
I tried to do the mex -.. one but it told me that I don't have any compiler. How can I fix this? Can you please help me with this? I am using 64 bit Windows 7
回答1:
Here's a link to GCC for windows http://gcc.gnu.org/install/specific.html#windows
回答2:
As far as I know GCC for Windows is not supported by Matlab. Visual Studio Express Editions will work, but 2010 may require a patch dependent on the version of Matlab you are running (http://www.mathworks.com/support/compilers/R2011a/win32.html). This page lists all supported compilers for Matlab.
来源:https://stackoverflow.com/questions/5861605/how-to-install-a-compiler-on-windows-for-a-matlab-program