Closed llafcode closed 6 years ago
Same here...
Try running:
vl_compilenn('EnableImreadJpeg',false)
Hopefully you don't need ImreadJpeg...
Actually I solve the problem by using the earlier release of matconvnet.... Pretty tough way to find this solution...
thanks a lot anyway.:)
Hmm, @elseven have you also used the Matlab 2016a? There might some issues in that. But it's weird that the earlier version worked as there hasn't been many changes in the compilation script. @llafcode can you tell which one have you used? So we can backtrack the changes... Thanks for help :)
@lenck I used Matlab 2016a trial.
@llafcode sorry, I meant which release of MatConvNet have you used :) If it just emerged in the beta-19...
@lenck This issue only happened when I use the beta-19. I tried beta-15 and beta-17, they all worked well.
Same here, beta19 does not compile for me
Hi, is this issue occurring on a Mac only? MATLAB 2016a only?
Hi, I could reproduce. It seems to be a bug in MATLAB 2016a. Basically, MEX it hangs when one tries to append options to the flags as explained in MathWorks website http://uk.mathworks.com/help/matlab/ref/mex.html (e.g. LDFLAGS='$LDFLAGS something'
). We need to do this to link various libraries to MCN, in particular for imreadjpeg. I'll look for a workaround but it may need fixing by MathWorks.
Update: the problem is triggered when the same flag is defined twice. Hence a workaround should be possible but it would require some major rewrite of vl_compilenn
. I submitted a bug report to Mathworks and hopefully they will suggest a better solution.
beta18 compiles fine for me
Not to overload this issue, but I just tested compiling beta17 through 19 with vl_compilenn('enableGpu', true, 'verbose', 2)
and they all fail at the MEX_LINK
step.
HOWEVER it may not be worth the effort to continue to support cuda on mac, as so little apple hardware ships with nvidia gpus, and it's looking like the next series of macbook pros will not ship with a dedicated nvidia gpu.
I'm having the same problem when following the steps in the quick start guide.
run matlab/vl_setupnn
I'm using Windows 10 64 bit and MATLAB R2016a (9.0.0.341360) 64-bit Fed/11/2016.
I'm getting the following error when I build with MinGW64
Building with 'MinGW64 Compiler (C++)'.
C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9\bin\g++ -c -DNDEBUG -DENABLE_DOUBLE -D__SSSE3__ -m64 -DMATLAB_MEX_FILE -I"C:\Program Files\MATLAB\R2016a/extern/include" -I"C:\Program Files\MATLAB\R2016a/simulink/include" -fexceptions -fno-omit-frame-pointer -O -DNDEBUG C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_gdiplus.cpp -o C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\imread_gdiplus.obj
Error using mex
In file included from C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_helpers.hpp:18:0,
from C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_gdiplus.cpp:14:
C:/MATLAB/SupportPackages/R2016a/MW_MinGW_4_9/lib/gcc/x86_64-w64-mingw32/4.9.2/include/tmmintrin.h: In function '__m128i
_mm_hadd_epi16(__m128i, __m128i)':
C:/MATLAB/SupportPackages/R2016a/MW_MinGW_4_9/lib/gcc/x86_64-w64-mingw32/4.9.2/include/tmmintrin.h:42:70: error:
'__builtin_ia32_phaddw128' was not declared in this scope
return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y); ^
.
.
.
Error in vl_compilenn>mex_compile (line 510)
mex(mopts{:}) ;
Error in vl_compilenn (line 471)
mex_compile(opts, srcs{i}, objfile, flags.mexcc) ;
Error in run (line 96)
evalin('caller', [script ';']);
And the following error when I build with Microsoft Visual C++ 2015 Professional
Building with 'MinGW64 Compiler (C)'.
C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9\bin\gcc -m64 -Wl,--no-undefined -shared -s -Wl,"C:\Program Files\MATLAB\R2016a/extern/lib/win64/mingw64/mexFunction.def" C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\vl_nnconv.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\data.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\datamex.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnconv.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnfullyconnected.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnsubsample.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnpooling.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnnormalize.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbnorm.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbias.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbilinearsampler.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\im2row_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\subsample_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\copy_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\pooling_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\normalize_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\bnorm_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\tinythread.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\bilinearsampler_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\imread.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\imread_gdiplus.obj -llibmwblas -L"C:\Program Files\MATLAB\R2016a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas gdiplus.lib -o C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\vl_nnconv.mexw64
Error using mex
gcc: error: gdiplus.lib: No such file or directory
Error in vl_compilenn>mex_link (line 528)
mex(mopts{:}) ;
Error in vl_compilenn (line 479)
mex_link(opts, objs, mex_dir, flags.mexlink) ;
Error in run (line 96)
evalin('caller', [script ';']);
Thank you in advance.
Any response from MathWorks?
I'm was planning to update to 2016a, but after seeing this issue that's postponed.
I'm having the same issue with MATLAB 2015b on Ubuntu 16.04. What version of MatLab are you using?
I believe you need to do the following
mex setup -c
mex setup -c++
However, don't forget that these both mex setup should be of the same version (VS2013/12/10 or Windows SDK)
Hi everybody, I also have the same problem, does anyone knows how to slove it :(
Error using mex gcc: error: gdiplus.lib: No such file or directory
Error in vl_compilenn>mex_link (line 547) mex(mopts{:}) ;
Error in vl_compilenn (line 498) mex_link(opts, objs, mex_dir, flags.mexlink) ;
Error in run (line 96) evalin('caller', [script ';']);
Error in CNN_Run (line 8) run matlab/vl_compilenn;
@vedaldi I also have the same problem, and The Matlab Version is 2016a, Visual Studio C++2010. Building with 'MinGW64 Compiler (C)'. Error using mex gcc: error: gdiplus.lib: No such file or directory
Error in vl_compilenn>mex_link (line 547) mex(mopts{:}) ;
Error in vl_compilenn (line 498) mex_link(opts, objs, mex_dir, flags.mexlink) ;
How could I solve this problem?
Hi guys, @mangmangye, I tried many different things and finally solved the issue magically, my recipe worked for me, but may/may not work for you.
I have couple of compilers (MinGW64, Visual Studio C++2015); but to solve the issue, I restricted the code to use just one compiler Visual Studio (and not MinGW64 because it didn't work for me). Change the first lines of code to:
clear all close all clc % Install and compile MatConvNet (needed once). untar('http://www.vlfeat.org/matconvnet/download/matconvnet-1.0-beta23.tar.gz') ; cd matconvnet-1.0-beta23
% you choose Visual Studio to be your compliler mex -setup:'C:\Program Files\MATLAB\R2016b\bin\win64\mexopts\msvc2015.xml' C mex -setup:'C:\Program Files\MATLAB\R2016b\bin\win64\mexopts\msvcpp2015.xml' C++
run matlab/vl_compilenn; ....
BTW, I use: MATLAB 2016b 64 bits Visual Studio Community 2015 (which is free: https://www.visualstudio.com/downloads/) MatConvNet 23 I also have Windows SDV 7.1 installed (I haven't used it in my code as you see)
Finally, I think you can run the code using Visual Studio 2010 and MATLAB 2016a.
Hope this would solve the issue.
Best
hi@masi96 , following your advice, i figure it out finally,thank you very much, btw, matlab 2016b 64 bits,visual studio community 2015 and professional 2013 MatConvNet master
Happy to hear that.
Sent from my iPhone
On 17 Nov 2016, at 12:43 AM, Ermin-Gong notifications@github.com wrote:
hi@masi96 , following your advice, i figure it out finally,thank you very much, btw, matlab 2016b 64 bits,visual studio community 2015 and professional 2013 MatConvNet master
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@masi96, Solve the same problem. Thanks a lot~
I recommend disabling anti-virus before compiling
Hi there. I have same problem when I try to run the below command on MATLAB:
vl_compilenn('enableGpu',true,'cudaRoot','C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0','cudaMethod' ,'nvcc','verbose', '2','enableCudnn','true','cudnnRoot','\local\cudnn')
My system configuration: Windows 10, MATLAB 2016b, Visual Studio 2015, Last version of MatConvNet, CUDA 8.0. CuDNN 5.1, NVIDIA GeForce 840M. There is no difference in the generated error by running of different version of MatConvNet. And the error is:
vl_compilenn: CUDA configuration vl_compilenn: CUDA: using CUDA Devkit 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0'. vl_compilenn: CUDA: using NVCC 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc' (80044). vl_compilenn: CUDA: determining GPU compute capability (use the 'CudaArch' option to override) vl_compilenn: CUDA: NVCC architecture string: '-gencode=arch=compute_50,code=\"sm_50,compute_50\" '. vl_compilenn: CUDA: MEX config file: 'C:\Program Files\MATLAB\R2016b\toolbox\distcomp\gpu\extern\src\mex\win64\mex_CUDA_win64.xml' vl_compilenn: Compiler and linker configurations vl_compilenn: intermediate build products directory: H:\Test1\matconvnet\matlab\mex.build vl_compilenn: MEX files: H:\Test1\matconvnet\matlab\mex/ vl_compilenn: MEX options [CC CPU]: -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -largeArrayDims CXXFLAGS=$CXXFLAGS CXXOPTIMFLAGS=$CXXOPTIMFLAGS vl_compilenn: MEX options [LINK]: -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -lmwblas -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64" -lcudart -lcublas -lgpu -L"\local\cudnn\lib\x64" -lcudnn -largeArrayDims LDFLAGS=$LDFLAGS LINKLIBS=gdiplus.lib $LINKLIBS vl_compilenn: MEX options [CC GPU]: -f C:\Program Files\MATLAB\R2016b\toolbox\distcomp\gpu\extern\src\mex\win64\mex_CUDA_win64.xml -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -largeArrayDims CXXFLAGS=$CXXFLAGS -gencode=arch=compute_50,code=\"sm_50,compute_50\" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC..\VC\bin" CXXOPTIMFLAGS=$CXXOPTIMFLAGS vl_compilenn: NVCC options [CC GPU]: -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -gencode=arch=compute_50,code=\"sm_50,compute_50\" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC..\VC\bin" vl_compilenn: Reading images vl_compilenn: vl_imreadjpeg enabled vl_compilenn: image library: gdiplus vl_compilenn: image library compile flags: vl_compilenn: image library link flags: gdiplus.lib vl_compilenn: NVCC CC: "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc" -c "H:\Test1\matconvnet\matlab\src\bits\data.cu" -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -gencode=arch=compute_50,code=\"sm_50,compute_50\" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC..\VC\bin" -o "H:\Test1\matconvnet\matlab\mex.build\bits\data.obj"
H:\Test1>call C:\Windows\Temp/tmpxft_00002858_00000000-2.bat
H:\Test1>set 1>C:\Windows\Temp/tmpxft_00002858_00000000-1
data.cu
data.cu H:/Test1/matconvnet/matlab/src/bits/data.cu(20): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Error using vl_compilenn>nvcc_compile (line 544) Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc" -c "H:\Test1\matconvnet\matlab\src\bits\data.cu" -v -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"\local\cudnn\include" -DENABLE_DOUBLE -DSSSE3 -gencode=arch=compute_50,code=\"sm_50,compute_50\" -I"C:\Program Files\MATLAB\R2016b\extern\include" -I"C:\Program Files\MATLAB\R2016b\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC..\VC\bin" -o "H:Test1\matconvnet\matlab\mex.build\bits\data.obj" failed.
Error in vl_compilenn (line 489) nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
Could you please tell me what the problem is? Thanks a lot.
@masi96 I have tried your method. It give following error, can please help
Error using vl_compilenn>check_clpath (line 599) Unable to find cl.exe
Error in vl_compilenn (line 417) cl_path = fileparts(check_clpath()); % check whether cl.exe in path
Error in run (line 96) evalin('caller', [script ';']);
Error in Untitled (line 8) run matlab/vl_compilenn
Maybe note helpful, but there are many vl_feat projects(vl feat, mat convnet) not work well on the latest Matlab. Since the last time I had this issue, I re-install my Matlab from 2017a downgrade to 2016b, and the problem of compiling is solved.
Good point. Sometimes this worked for me as well.
On Thu, Jun 1, 2017 at 10:19 AM, SphericalHarnomics < notifications@github.com> wrote:
Maybe note helpful, but there are many vl_feat projects(vl feat, mat convnet) not work well on the latest Matlab. Since the last time I had this issue, I re-install my Matlab from 2017a downgrade to 2016b, and the problem of compiling is solved.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vlfeat/matconvnet/issues/501#issuecomment-305353987, or mute the thread https://github.com/notifications/unsubscribe-auth/AV0TKS9NpE5qo3XM62iGQH2ugF5Uj4Xfks5r_gOCgaJpZM4II8Tz .
-- _____ Masoud Ghodrati,
PhD Student, Department of Physiology, Monash University, Melbourne, Australia.
E-mails: masoud.ghodrati@monash.edu Web pages (Personal) : https://sites.google.com/site/masoudghodrati1985/
_____
Just compiled the matconvnet beta 24 with 1080Ti, Cuda 8, Gcc/g++ 4.9 on Ubuntu 14.04. It seems like it is quite necessary to put matconvnet under the root for compiling/test.
thanks @masi96
I did it.
but when i test with this command
vl_testnn
Running nnspnorm Setting up nnspnorm[dataType=single,device=cpu] Done setting up nnspnorm[dataType=single,device=cpu] in 0.0028839 seconds Running nnspnorm[dataType=single,device=cpu]/basic Done nnspnorm[dataType=single,device=cpu]/basic in 2.219 seconds Tearing down nnspnorm[dataType=single,device=cpu] Done tearing down nnspnorm[dataType=single,device=cpu] in 0 seconds Done nnspnorm in 2.2219 seconds
Failure Summary:
Name Failed Incomplete Reason(s)
=======================================================================================================
nnmnist[dataType=single,device=cpu]/valErrorRate(networkType=dagnn) X X Errored.
-------------------------------------------------------------------------------------------------------
nnmnist[dataType=single,device=cpu]/valErrorRate(networkType=simplenn) X X Errored.
result =
1×1673 TestResult array with properties:
Name
Passed
Failed
Incomplete
Duration
Details
Totals: 1671 Passed, 2 Failed, 2 Incomplete. 108.0444 seconds testing time.
Error in vl_compilenn (line 324) mkdir(acess is denied) mkdir(fullfile(flags.bld_dir,'bits','impl')) ; please provide solution
@Masoud-Ghodrati THX!!!!!!!!!!! You really save me!
I'm having the same problem when following the steps in the quick start guide.
run matlab/vl_setupnn
I'm using Windows 10 64 bit and MATLAB R2016a (9.0.0.341360) 64-bit Fed/11/2016.
I'm getting the following error when I build with MinGW64
Building with 'MinGW64 Compiler (C++)'. C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9\bin\g++ -c -DNDEBUG -DENABLE_DOUBLE -D__SSSE3__ -m64 -DMATLAB_MEX_FILE -I"C:\Program Files\MATLAB\R2016a/extern/include" -I"C:\Program Files\MATLAB\R2016a/simulink/include" -fexceptions -fno-omit-frame-pointer -O -DNDEBUG C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_gdiplus.cpp -o C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\imread_gdiplus.obj Error using mex In file included from C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_helpers.hpp:18:0, from C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\src\bits\impl\imread_gdiplus.cpp:14: C:/MATLAB/SupportPackages/R2016a/MW_MinGW_4_9/lib/gcc/x86_64-w64-mingw32/4.9.2/include/tmmintrin.h: In function '__m128i _mm_hadd_epi16(__m128i, __m128i)': C:/MATLAB/SupportPackages/R2016a/MW_MinGW_4_9/lib/gcc/x86_64-w64-mingw32/4.9.2/include/tmmintrin.h:42:70: error: '__builtin_ia32_phaddw128' was not declared in this scope return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y); ^ . . . Error in vl_compilenn>mex_compile (line 510) mex(mopts{:}) ; Error in vl_compilenn (line 471) mex_compile(opts, srcs{i}, objfile, flags.mexcc) ; Error in run (line 96) evalin('caller', [script ';']);
And the following error when I build with Microsoft Visual C++ 2015 Professional
Building with 'MinGW64 Compiler (C)'. C:\MATLAB\SupportPackages\R2016a\MW_MinGW_4_9\bin\gcc -m64 -Wl,--no-undefined -shared -s -Wl,"C:\Program Files\MATLAB\R2016a/extern/lib/win64/mingw64/mexFunction.def" C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\vl_nnconv.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\data.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\datamex.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnconv.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnfullyconnected.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnsubsample.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnpooling.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnnormalize.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbnorm.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbias.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\nnbilinearsampler.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\im2row_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\subsample_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\copy_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\pooling_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\normalize_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\bnorm_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\tinythread.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\bilinearsampler_cpu.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\imread.obj C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\.build\bits\impl\imread_gdiplus.obj -llibmwblas -L"C:\Program Files\MATLAB\R2016a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas gdiplus.lib -o C:\Users\humam\Documents\MATLAB\matconvnet-1.0-beta20\matlab\mex\vl_nnconv.mexw64 Error using mex gcc: error: gdiplus.lib: No such file or directory Error in vl_compilenn>mex_link (line 528) mex(mopts{:}) ; Error in vl_compilenn (line 479) mex_link(opts, objs, mex_dir, flags.mexlink) ; Error in run (line 96) evalin('caller', [script ';']);
Thank you in advance.
Error using mex
gcc: error: gdiplus.lib: No such file or directory How to solve this problem?
Hi everyone, I'm new to MATLAB and MatConvNet. When I tried to follow the instructions on the website of MatConvNet to do the basic compiling(which is the CPU version), no matter I compiled in MATLAB using vl_compilenn or the command line, the compiling process will always stuck in some place. I tried the vl_compilenn('verbose',1) in MATLAB and saw that the process was stucked whlie MEX LINK, and until now I've been waiting for almost half an hour and I believe that there is something wrong.
P.S. My OS is MAC OS X 10.11.4 Graphic card is Intel Iris Graphics 6100 1536 MB MATLAB version is 2016a trial use MatConvNet version is 1.0-beta19
Please help me out, I almost spent all day on this compiling process of my experiment.