undefined symbole '_mclInitializeApplication_proxy@8' reference in .c
22 ビュー (過去 30 日間)
古いコメントを表示
hello,
I want to integrate a dll compiled with matlab in a labwindowsCVI project. i have installed matlab runtime r2012b on my pc and add the dll library, mclmcrrt.lib and paths of .h files to the project. I have also included paths « C:\Program Files\MATLAB\MATLAB Compiler Runtime\v80\extern\include » and « C:\Program Files\MATLAB\MATLAB Compiler Runtime\v80\extern\lib\win32\microsoft » to the project.
when compile the project i got this project link error: undefined symbole '_mclInitializeApplication_proxy@8' reference in .c
in mclmcrrt.h i found this #undef mclInitializeApplication #define mclInitializeApplication mclInitializeApplication_proxy
i do include mclmcrrt.h in file .c, could anyone help me with this problem?
0 件のコメント
採用された回答
Friedrich
2013 年 4 月 9 日
編集済み: Friedrich
2013 年 4 月 9 日
Hi,
specifying the path to the lib file is not enough. You need to explcitly state the mclmcrrt.lib for the linker and also the .lib file generated by MATLAB Compiler. There should be a project setting for the linker in which you can specify additional dependencies/libraries. Not sure how it is named in labview.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で C Shared Library Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!