Using File Exchange

1 次查看(过去 30 天)
bahar cham
bahar cham 2011-12-4
Hello,every body. I have installed successfully c++ 2010 express and sdk1. Now I can run mex eig3volume.c in (<http://www.mathworks.com/matlabcentral/fileexchange/24409-hessian-based-frangi-vesselness-filter>) File Exchange Program. Even, I could run this program(<http://www.mathworks.com/matlabcentral/fileexchange/24531-accurate-fast-marching)>. BUT I can't run(<http://www.mathworks.com/matlabcentral/fileexchange/6110-toolbox-fast-marching>) when I wrote
cd toolbox_fast_marching
compile_mex;
cd ..
I SAW: perform_front_propagation_2d.cpp c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory
C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: Compile of 'mex\perform_front_propagation_2d.cpp' failed.
??? Error using ==> mex at 208 Unable to complete successfully.
Error in ==> compile_mex at 2
mex mex/perform_front_propagation_2d.cpp
mex/perform_front_propagation_2d_mex.cpp
mex/fheap/fib.cpp
WHAT HELL IS cpp? I run .c? what is problem? Please describe it fluently, because i am inferior in matlab.
PS: I still front this problem
mex yprime.c
C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: 'yprime.c' not found.
??? Error using ==> mex at 208 Unable to complete successfully.
BUT it is not important when i can run 2 above mentioned program. Is it?
THANKS in advance

采纳的回答

Jan
Jan 2011-12-4
To compile yprime.c, it must be existing in the current folder. E.g. you can copy the file from matlabroot\extern\examples\mex to your temp folder. Then cange to the temp folder in Matlab:
cd(tempdir)
and try to compile again.
For problems with a FEX submission, it is a good idea to contact the author. The message "Cannot open include file: 'ammintrin.h'" seems, like there is a missing header file. Does the submission contain instructions for a compilation?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by