Borrar filtros
Borrar filtros

Mex compiler MinGW64 only, although msvcpp xmls are in the mexopts folder

46 visualizaciones (últimos 30 días)
Heath Robinson
Heath Robinson el 9 de Ag. de 2024 a las 17:12
Comentada: Joss Knight el 16 de Ag. de 2024 a las 21:01
Hi,
I am having issues - for whatever reason my previous GPU compile for VS studio 2019 and Matlab 2022a got corrupted and now VS studio no longer offers VS 2019 download.
My exact issue is that the mex -setup C++ only finds MinGW64 and not the VS studio code (msvc2022) although it is in the mexopts folder and VS studio 2022 is download (including the manual C++ library installation).
Mathworks has xmls but it seems mex is not robust enough to find them and does not allow for manual addition of compilers (even though the xmls are thoroughly there in \win64 folder. Does anyone have any ideas how to compile VS studio 2022 with whatever version of MATLAB that works with it.
  9 comentarios
Heath Robinson
Heath Robinson el 13 de Ag. de 2024 a las 14:25
Also shows that when I downloaded VS studio 2019 it worked, which shows that it is a MATLAB error. Nothing changed except the version of VS. Then MATLAB could find the xml. I think perhaps Mathworks is seriously behind the ball with GPU's, which is alarming given the tensor/pytorch world that exists in Python - I would be making sure something like compiling a GPU works with the most recent VS Studio.
Joss Knight
Joss Knight el 16 de Ag. de 2024 a las 21:01
Apologies, no intention to impugn your competence. I'm not sure what your problem has to do with GPU. It seems to be just about whether MEX is succeeding in detecting your VS2022 installation. Can you provide the -v verbose output of mexcuda so we can see why it's not detecting your install?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by