Prev: ActiveX Winsock Control
Next: SAVE GUI TO WORKSPACE
From: David on 4 May 2010 02:41 Hi, I'm trying to compile a mex file using the intel compiler, I have just done a fresh install of MATLAB 2010a and have the intel compiler version 11.1 installed and MS VS 2008 SP1. Here is the output: mex -O circular_hough.c Select a compiler: [1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker) in C:\Program Files\Intel\Compiler\11.1\060\ [2] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc [3] Microsoft Visual C++ 2008 SP1 in c:\Program Files\Microsoft Visual Studio 9.0 [0] None Compiler: 1 Trying to update options file: C:\Documents and Settings\warned\Application Data\MathWorks\MATLAB\R2010a\mexopts.bat From template: C:\PROGRA~1\MATLAB\R2010a\bin\win32\mexopts\intelc11msvs2008opts.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/en/data/1-5C27B9/?solution=1-5C27B9 Building with the -largeArrayDims option enables the new API. ************************************************************************** circular_hough.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored MSVCRT.lib(crtdll.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored MSVCRT.lib(crtdll.obj) : warning LNK4044: unrecognized option "alternatename:__pRawDllMain=__pDefaultRawDllMain"; ignored circular_hough.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored MSVCRT.lib(crtdll.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored MSVCRT.lib(crtdll.obj) : warning LNK4044: unrecognized option "alternatename:__pRawDllMain=__pDefaultRawDllMain"; ignored Creating library C:\DOCUME~1\WARNED\LOCALS~1\TEMP\MEX_RN~1\templib.x and object C:\DOCUME~1\WARNED\LOCALS~1\TEMP\MEX_RN~1\templib.exp MSVCRT.lib(crtdll.obj) : error LNK2001: unresolved external symbol __pRawDllMain MSVCRT.lib(dllmain.obj) : error LNK2001: unresolved external symbol __pRawDllMain circular_hough.mexw32 : fatal error LNK1120: 1 unresolved externals C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Link of 'circular_hough.mexw32' failed. ??? Error using ==> mex at 222 Unable to complete successfully. Now, first I should state I am not a windows person, I am trying to compile to windows for a client (I have got this all to work quite nicely in Ubuntu Linux by editing the mexopts.sh script, but similar attemps in windows using the -f switch have proven unsuccessfull and I am sure its my ignorence of windows and VS2008, cause it will compile but not link). Anyway any help would be appreciated, its starting to really get on my nerves! Dave
|
Pages: 1 Prev: ActiveX Winsock Control Next: SAVE GUI TO WORKSPACE |