Mex problems with Visual Studio 2017 Community Edition

조회 수: 2 (최근 30일)
Ongun Arisev
Ongun Arisev 2019년 3월 23일
Dear Matlab community,
I am experimenting with MatConvNet on Windows 10 64-bit with Visual Studio 2017 Community Edition installed. After noticing cl.exe was missing I installed the necessary components through modification of VS Installer. Now I have C/C++ compiler of VS and added it to the system path. However, I had MinGW64 Compilers installed before this and now I cannot switch the compiler in mex to that one through the following command.
>> mex -setup:'C:\Program Files\MATLAB\R2018b\bin\win64\mexopts\msvcpp2017.xml' C++
Error using mex
MEX cannot use compiler 'Microsoft Visual C++ 2017' because that
compiler is not found.
Although I installed the C/C++ compiler it cannot be selected through the command I quoted above. What might be the reason and how this issue can be solved?

답변 (0개)

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by