jsqdp 发表于 2008-9-1 12:28

install HHT toolbox 的惨痛

我的过程是这样的,虽然是有报错误的:

>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:

Would you like mbuild to locate installed compilers /n? y

Select a compiler:
Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2008a\sys\lcc
Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio C++\MSDev98

None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: D:\Program Files\Microsoft Visual Studio C++\MSDev98

Are these correct /n? y
Warning: MBUILD requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'D:\Program Files\Microsoft Visual Studio C++\MSDev98'.)
Trying to update options file: C:\Documents and Settings\zzj\Application Data\MathWorks\MATLAB\R2008a\compopts.bat
From template:             C:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\msvc60compp.bat

Done . . .

>>mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers /n? y

Select a compiler:
Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2008a\sys\lcc\bin
Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio C++\MSDev98

None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: D:\Program Files\Microsoft Visual Studio C++\MSDev98

Are these correct /n? y
Warning: MEX requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'D:\Program Files\Microsoft Visual Studio C++\MSDev98'.)
Trying to update options file: C:\Documents and Settings\zzj\Application Data\MathWorks\MATLAB\R2008a\mexopts.bat
Fromtemplate:             C:\PROGRA~1\MATLAB\R2008a\bin\win32\mexopts\msvc60opts.bat

Done . . .

**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
         variables with more than 2^32-1 elements.In the near future
         you will be required to update your code to utilize the new
         API. You can find more information about this at:
         http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9
         Building with the -largeArrayDims option enables the new API.
**************************************************************************

>>install_emd
cemdc.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc.c(19) : fatalerror C1083: Cannot open include file: 'complex.h': No such file ordirectory

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc_fix.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc_fix.c(19) :fatal error C1083: Cannot open include file: 'complex.h': No such fileor directory

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc_fix.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc2.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc2.c(19) : fatalerror C1083: Cannot open include file: 'complex.h': No such file ordirectory

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2_fix.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc2_fix.c(19) :fatal error C1083: Cannot open include file: 'complex.h': No such fileor directory

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

cemdc2_fix.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

Warning: The compilation of the following files failed:
> In make_emdc at 48
In install_emd at 26
cemdc.c
cemdc_fix.c
cemdc2.c
cemdc2_fix.c
Some errors occurred during compilation. See details above.
Installation complete. Run index_emd for a list of functions.
IMPORTANT: After running INSTALL_EMD you must run the "savepath" command to save the installation
but be careful that if you previously removed parts of the path (using e.g. the "rmpath" command)
these will be permanently removed after you run "savepath"
>>

我装了7.1matlab,vc++6.0,系统说没有complex.h,我看了,的却没有。我估计可能是vc版本太高,就没有这个文件,但是大家都是用的vc++6.0我怎么就出错了呢?
请大家给些建议。
我想很多板油也有同感吧
有板油说只要add toolbox到matlab 的directionary里面,但是这么做能够完整么?

hering 发表于 2008-9-1 16:10

老问题,一直没有解决
页: [1]
查看完整版本: install HHT toolbox 的惨痛