Info
此问题已关闭。 请重新打开它进行编辑或回答。
I have downloaded the code containing some .CPP files. However when I compile it using mex compiler VC, it is giving an error as
1 次查看(过去 30 天)
显示 更早的评论
I have downloaded the code containing some .CPP files. However when I compile it using mex compiler VC, it is giving an error as LINK : error LNK2001: unresolved external symbol mexFunction C:\Users\Debashis\AppData\Local\Temp\mex_PMSOHs\templib.x : fatal error LNK1120: 1 unresolved externals
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Link of 'segment.mexw32' failed.
Thanks in advance
1 个评论
James Tursa
2017-8-24
Is this code written as a mex routine? Or is it just some code you tried to compile with the mex command? Currently, the error is simply telling you that there is no gateway mexFunction in the code, so it is not a proper mex function. Maybe you are missing some files?
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!