Mex cannot find mwblas?

19 visualizaciones (últimos 30 días)
Brian Searls
Brian Searls el 22 de Nov. de 2015
Comentada: Nan Jiang el 18 de Feb. de 2021
Error using mex
MEX cannot find library 'mwblas' specified with the -l option.
MEX looks for a file with one of the names:
libmwblas.lib
mwblas.lib
Please specify the path to this library with the -L option.
Has anyone seen this before?
I'm trying to run vl_compilenn from a neural net pack, and I get this when I compile. Any ideas?
  2 comentarios
Tolentee
Tolentee el 21 de En. de 2017
Please were you able to get a fix for this? Getting the same error too
Nan Jiang
Nan Jiang el 18 de Feb. de 2021
I have the same question too.

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 22 de Nov. de 2015
  1 comentario
Brian Searls
Brian Searls el 22 de Nov. de 2015
This is the file I'm trying to run. I compiled it using a more verbose level and I got this message,
Set INCLUDE = C:\TDM-GCC-64\\include;
Set LIB = C:\TDM-GCC-64\\lib;;
Set MW_TARGET_ARCH = win64;
Set LIBPATH = C:\Program Files\MATLAB\R2015b\extern\lib\win64;
Error using mex
MEX cannot find library 'mwblas' specified with the -l option.
MEX looks for a file with one of the names:
libmwblas.lib
mwblas.lib
Please specify the path to this library with the -L option.
For some reason it gets to this line, and errors out. Do you have any idea what would cause this?

Iniciar sesión para comentar.


Yuanlong Zhang
Yuanlong Zhang el 26 de Nov. de 2018
Thia error occurs when you try to use libmwblas.dll with a .cpp file, while everything is correct with .c file. Just try
mex '-LC:\Program Files\MATLAB\R2017b\extern\lib\win64\microsoft' -lmwblas your_file.cpp

Categorías

Más información sobre MATLAB Compiler 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