numerous "undeclared identifier" errors using MEX
显示 更早的评论
Hello-
I have downloaded smoothpatch_curvature_double.c (from Matlab exchange) and am trying to use MEX for the first time. I am on Windows 7, with a 64bit operating system, but am using Matlab 7.1.0.246 (R14) which is of course pretty old. Perhaps it can't access the full 64-bit system (?)
I entered "mex setup" first and chose LCC compiler
then as suggested in the comments, I used the command:
mex smoothpatch_curvature_double.c -v
A huge number of errors like those below occurred. Can someone please help me? Thanks very much in advance! Greg
Error smoothpatch_curvature_double.c: 25 undeclared identifier `mwSize' Error smoothpatch_curvature_double.c: 25 undeclared identifier `PneigDims' Warning smoothpatch_curvature_double.c: 25 Statement has no effect Error smoothpatch_curvature_double.c: 26 illegal statement termination Error smoothpatch_curvature_double.c: 26 skipping `int'
2 个评论
Walter Roberson
2012-10-14
MATLAB R14 is only a 32 bit executable (but those will generally execute on 64 bit Windows)
MATLAB R14 is not known to work with Windows 7.
Gregory Ojakangas
2012-10-14
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!