Matlab shared library Visual Studio .pdb error

3 visualizaciones (últimos 30 días)
Ogulcan Isitman
Ogulcan Isitman el 15 de Jun. de 2020
Comentada: Samuel Gray el 7 de Oct. de 2021
Hi,
I write a matlab function which includes fmincon function then using the following command line "mcc -W cppLib:fmincon_lib -T link:lib f_min_con.m" I generated dll files to use them in Visual studio. I receive following error:
libmwbinder.pdb not loaded.
libmwbinder.pdb contains the debug information required to find the source for the module libmwbinder.dll
I have no problem with initializing the libraries and functions and when I try a basic function like sum of the two numbers it works with no problem.
Can you help me with this issue?
Thanks!
  1 comentario
Samuel Gray
Samuel Gray el 7 de Oct. de 2021
AFAIK the .pdb files that correspond to the dlls are only required when debugging the program in VS. If you don't need to debug the code then just set an exception for the specific pdb file in the VS options. Tools-options-debugging-symbols at least in VS2015, if you get a "no symbols loaded" page with the various links on it, even better.
The "cache symbols in this directory", or something similar perhaps with a different user directory, may hold the .pdb file that you're looking for.
Mine is set to:
c:\users\user\AppData\Local\Temp\SymbolCache and often I find them using the internet search tool in vs15, mostly from MS itself I guess. Anyway right below that there's an option to "Specify excluded modules".

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by