Intel compiler non-linkable object file
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!