Intel compiler non-linkable object file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dear all,
I'm using MEX to compile some C++ code and use it in my Matlab Code, under Windows platform: I've configured matlab mex to use Intel compiler (ICC) and it works fine unless I try to use /ipo option. In that case, in fact, I obtain the following error:
<source>.obj : warning LNK4229: invalid directive '/Intel(R) compiler non-linkable IL object file' encountered; ignored
cpp_mexapi_version.obj : warning LNK4229: invalid directive '/Intel(R) compiler non-linkable IL object file' encountered; ignored
LINK : error LNK2001: unresolved external symbol mexFunction
LINK : error LNK2001: unresolved external symbol mexfilerequiredapiversion
In my interpretation, this should be related somehow to the need to invoke intel linker instead of "standard" linker, but I was not able to find any indication about how to do it.
Any ideas?
Tnx!
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!