undefined symbole '_mclInitializeApplication_proxy@8' reference in .c
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Friedrich
il 9 Apr 2013
Modificato: Friedrich
il 9 Apr 2013
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su C Shared Library Integration in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!