Error in compiling MatConvNet with CPU on MATLAB 2021a - vl_compilenn error
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone,
I'm facing an error in MatConvNet installation. My research work got struck due to this. Pleas help me.
I am working on WINDOWS 10, 8GB RAM, 128 SSD, 500 HDD - MATLAB 2021a and MatConvNet 1.0-beta25
I tried to follow the instructions given on the vl_feat website for MatConvNet (for CPU compiling).
I configured mex to setup Mingw 64 compiler and then compiled using vl_compilenn. Earlier was the error of cl.exe which I dealt in this way: cl_path = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\bin\amd64';
Now getting this error and finding no solution for that... Please guide??
Error using mex
In file included from E:\MS ( Electrical ) IST\1- EE THESIS\Deep
Learning\MatConvNet\matlab\src\bits\impl\imread_helpers.hpp:19:0,
from E:\MS ( Electrical ) IST\1- EE THESIS\Deep
Learning\MatConvNet\matlab\src\bits\impl\imread_gdiplus.cpp:14:
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hadd_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:42:70:
error: '__builtin_ia32_phaddw128' was not declared in this scope
return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hadd_epi32(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:48:70:
error: '__builtin_ia32_phaddd128' was not declared in this scope
return (__m128i) __builtin_ia32_phaddd128 ((__v4si)__X, (__v4si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hadds_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:54:71:
error: '__builtin_ia32_phaddsw128' was not declared in this scope
return (__m128i) __builtin_ia32_phaddsw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hadd_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:60:65:
error: '__builtin_ia32_phaddw' was not declared in this scope
return (__m64) __builtin_ia32_phaddw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hadd_pi32(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:66:65:
error: '__builtin_ia32_phaddd' was not declared in this scope
return (__m64) __builtin_ia32_phaddd ((__v2si)__X, (__v2si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hadds_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:72:66:
error: '__builtin_ia32_phaddsw' was not declared in this scope
return (__m64) __builtin_ia32_phaddsw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hsub_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:78:70:
error: '__builtin_ia32_phsubw128' was not declared in this scope
return (__m128i) __builtin_ia32_phsubw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hsub_epi32(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:84:70:
error: '__builtin_ia32_phsubd128' was not declared in this scope
return (__m128i) __builtin_ia32_phsubd128 ((__v4si)__X, (__v4si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_hsubs_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:90:71:
error: '__builtin_ia32_phsubsw128' was not declared in this scope
return (__m128i) __builtin_ia32_phsubsw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hsub_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:96:65:
error: '__builtin_ia32_phsubw' was not declared in this scope
return (__m64) __builtin_ia32_phsubw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hsub_pi32(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:102:65:
error: '__builtin_ia32_phsubd' was not declared in this scope
return (__m64) __builtin_ia32_phsubd ((__v2si)__X, (__v2si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_hsubs_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:108:66:
error: '__builtin_ia32_phsubsw' was not declared in this scope
return (__m64) __builtin_ia32_phsubsw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_maddubs_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:114:75:
error: '__builtin_ia32_pmaddubsw128' was not declared in this scope
return (__m128i) __builtin_ia32_pmaddubsw128 ((__v16qi)__X, (__v16qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_maddubs_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:120:68:
error: '__builtin_ia32_pmaddubsw' was not declared in this scope
return (__m64) __builtin_ia32_pmaddubsw ((__v8qi)__X, (__v8qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_mulhrs_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:126:72:
error: '__builtin_ia32_pmulhrsw128' was not declared in this scope
return (__m128i) __builtin_ia32_pmulhrsw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_mulhrs_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:132:67:
error: '__builtin_ia32_pmulhrsw' was not declared in this scope
return (__m64) __builtin_ia32_pmulhrsw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_shuffle_epi8(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:138:72:
error: '__builtin_ia32_pshufb128' was not declared in this scope
return (__m128i) __builtin_ia32_pshufb128 ((__v16qi)__X, (__v16qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_shuffle_pi8(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:144:65:
error: '__builtin_ia32_pshufb' was not declared in this scope
return (__m64) __builtin_ia32_pshufb ((__v8qi)__X, (__v8qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_sign_epi8(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:150:72:
error: '__builtin_ia32_psignb128' was not declared in this scope
return (__m128i) __builtin_ia32_psignb128 ((__v16qi)__X, (__v16qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_sign_epi16(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:156:70:
error: '__builtin_ia32_psignw128' was not declared in this scope
return (__m128i) __builtin_ia32_psignw128 ((__v8hi)__X, (__v8hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_sign_epi32(__m128i, __m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:162:70:
error: '__builtin_ia32_psignd128' was not declared in this scope
return (__m128i) __builtin_ia32_psignd128 ((__v4si)__X, (__v4si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_sign_pi8(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:168:65:
error: '__builtin_ia32_psignb' was not declared in this scope
return (__m64) __builtin_ia32_psignb ((__v8qi)__X, (__v8qi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_sign_pi16(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:174:65:
error: '__builtin_ia32_psignw' was not declared in this scope
return (__m64) __builtin_ia32_psignw ((__v4hi)__X, (__v4hi)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_sign_pi32(__m64, __m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:180:65:
error: '__builtin_ia32_psignd' was not declared in this scope
return (__m64) __builtin_ia32_psignd ((__v2si)__X, (__v2si)__Y);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_alignr_epi8(__m128i, __m128i, int)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:188:32:
error: '__builtin_ia32_palignr128' was not declared in this scope
(__v2di)__Y, __N * 8);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_alignr_pi8(__m64, __m64, int)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:195:27:
error: '__builtin_ia32_palignr' was not declared in this scope
(__v1di)__Y, __N * 8);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_abs_epi8(__m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:211:57:
error: '__builtin_ia32_pabsb128' was not declared in this scope
return (__m128i) __builtin_ia32_pabsb128 ((__v16qi)__X);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_abs_epi16(__m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:217:56:
error: '__builtin_ia32_pabsw128' was not declared in this scope
return (__m128i) __builtin_ia32_pabsw128 ((__v8hi)__X);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m128i _mm_abs_epi32(__m128i)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:223:56:
error: '__builtin_ia32_pabsd128' was not declared in this scope
return (__m128i) __builtin_ia32_pabsd128 ((__v4si)__X);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_abs_pi8(__m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:229:51:
error: '__builtin_ia32_pabsb' was not declared in this scope
return (__m64) __builtin_ia32_pabsb ((__v8qi)__X);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_abs_pi16(__m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:235:51:
error: '__builtin_ia32_pabsw' was not declared in this scope
return (__m64) __builtin_ia32_pabsw ((__v4hi)__X);
^
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:
In function '__m64 _mm_abs_pi32(__m64)':
C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/mingw_w64.instrset/lib/gcc/x86_64-w64-mingw32/6.3.0/include/tmmintrin.h:241:51:
error: '__builtin_ia32_pabsd' was not declared in this scope
return (__m64) __builtin_ia32_pabsd ((__v2si)__X);
^
Error in vl_compilenn>mex_compile (line 529)
mex(mopts{:}) ;
Error in vl_compilenn (line 490)
mex_compile(opts, srcs{i}, objfile, flags.mexcc) ;
1 comentario
shereen abdel-aal
el 12 de Nov. de 2023
Did you solve the problem? Because I am facing the same error
Respuestas (1)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!