|
|
mex and intel compiler
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
|
|
0
|
|
|
|
Reply
|
David
|
5/4/2010 6:41:04 AM |
|
|
0 Replies
605 Views
(page loaded in 0.001 seconds)
Similiar Articles: mex and intel compiler - comp.soft-sys.matlabHi, 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... mex using Intel Visual Fortran 11.0 - comp.soft-sys.matlab ...Hi I am trying to mex my fortran file using Intel Visual Fortran 11.0 integrated with Visual Stduio 2008. After using "mex -setup", fortran compiler is not show ... Bind C AND FORTRAN Compiler with MEX - comp.soft-sys.matlab ...Hello, I have MATLAB R2007b on WinXP 32bit. Visual Studio 2005 with C++ and Intel Fortran Compiler 9.1 are installed, they work correctly. Now I... C++ compiler for mex - comp.soft-sys.matlabmex and intel compiler - comp.soft-sys.matlab 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 ... 64bit linux, mex, Fortran, and -largeArrayDims - comp.soft-sys ...MEX in Matlab 7.10, 64 bit, Windows 7 - comp.soft-sys.matlab ... 64bit linux, mex, Fortran, and -largeArrayDims - comp.soft-sys ... mex and intel compiler - comp.soft-sys ... Fortran code for 1982 version of Matlab - comp.lang.fortran ...mex and intel compiler - comp.soft-sys.matlab... just done a fresh install of MATLAB 2010a and have the intel compiler version 11 ... ***** Warning: The MATLAB C and ... Intel Visual Fortran Error Message - comp.lang.fortranmex and intel compiler - comp.soft-sys.matlab Error using ==> mex at 222 Unable to complete successfully. Now, first I ... mex and intel compiler - comp.soft-sys.matlab ... Updates to lcc-win32 - comp.compilers.lccmex and intel compiler - comp.soft-sys.matlab... C++ 2008 SP1 linker) in C:\Program Files\Intel\Compiler\11.1\060\ [2] Lcc-win32 C 2 ... Microsoft Visual Studio 9.0 [0 ... windows 7 64-bit fortran compiler - comp.soft-sys.matlab ...Since Intel does still offer that Fortran compiler for 64-bit, we do consider MATLAB supporting Fortran MEX on 64-bit systems. I'm sorry that the evaluation level of ... get matlab 2010a to use MS Visual C++ 2010 Express as mex compiler ...... any way to get MATLAB 2010a to use MS Visual C++ 2010 Express as its MEX compiler? ... 11.0 - comp.soft-sys.matlab ..... to mex my fortran file using Intel Visual ... MEX to ... mex and intel compiler - Newsreader - MATLAB CentralHi, 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 ... mex and intel compiler - comp.soft-sys.matlab | Computer GroupHi, 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... 7/22/2012 7:55:43 AM
|
|
|
|
|
|
|
|
|