You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Windows 10 and MATLAB 2017a, the compiler message is:
compile
compiling features.cc
Building with 'Microsoft Visual C++ 2015 Professional'.
MEX completed successfully.
compiling spams
compilation of: -I./linalg/ -I./decomp/ -I./dictLearn/ dictLearn/mex/mexTrainDL.cpp
error: failed to compile: -I./linalg/ -I./decomp/ -I./dictLearn/ dictLearn/mex/mexTrainDL.cpp -outdir ./build/ -DUSE_BLAS_LIB -DNEW_MATLAB -largeArrayDims -DNDEBUG -DWINDOWS -DREMOVE_ PATH=%PATH%;C:\cygwin\bin\ COMPILER=g++-4 COMPFLAGS="-c -fexceptions" NAME_OBJECT=-o -lmwblas -lmwlapack -L"C:\cygwin\lib\gcc\i686-pc-cygwin\4.5.3" -L/ -lgomp OPTIMFLAGS="-O3 -mtune=core2 -fomit-frame-pointer -funsafe-loop-optimizations -fopenmp"
error: reason: MEX cannot find library 'gomp' specified with the -l option.
MEX looks for a file with one of the names:
gomp.lib
libgomp.lib
Please specify the path to this library with the -L option.
error: you might consider adjusting spams/compile.m settings
error: in particular, adjust path_to_compiler_libraries
error: we will continue to attempt to compile the rest of the system
error: since it might be ok that this failed to compile, but if the
error: full system does not work, please fix this error
compilation of: -I./linalg/ -I./decomp/ decomp/mex/mexLasso.cpp
error: failed to compile: -I./linalg/ -I./decomp/ decomp/mex/mexLasso.cpp -outdir ./build/ -DUSE_BLAS_LIB -DNEW_MATLAB -largeArrayDims -DNDEBUG -DWINDOWS -DREMOVE_ PATH=%PATH%;C:\cygwin\bin\ COMPILER=g++-4 COMPFLAGS="-c -fexceptions" NAME_OBJECT=-o -lmwblas -lmwlapack -L"C:\cygwin\lib\gcc\i686-pc-cygwin\4.5.3" -L/ -lgomp OPTIMFLAGS="-O3 -mtune=core2 -fomit-frame-pointer -funsafe-loop-optimizations -fopenmp"
error: reason: MEX cannot find library 'gomp' specified with the -l option.
MEX looks for a file with one of the names:
gomp.lib
libgomp.lib
Please specify the path to this library with the -L option.
error: you might consider adjusting spams/compile.m settings
error: in particular, adjust path_to_compiler_libraries
error: we will continue to attempt to compile the rest of the system
error: since it might be ok that this failed to compile, but if the
error: full system does not work, please fix this error
I don't know what is happening. The message says "MEX completed successfully", but then it reports tons of errors. So what is "spam"? What is "gomp"? Are they needed on Windows 10 to use ihog? Can I ignore them? Do I have to install cygwin to compile on Windows+Matlab?
The text was updated successfully, but these errors were encountered:
I am using Windows 10 and MATLAB 2017a, the compiler message is:
I don't know what is happening. The message says "MEX completed successfully", but then it reports tons of errors. So what is "spam"? What is "gomp"? Are they needed on Windows 10 to use ihog? Can I ignore them? Do I have to install cygwin to compile on Windows+Matlab?
The text was updated successfully, but these errors were encountered: