我尝试使用this链接在Windows上编译matconvnet。但是我坚持:
>> run matlab/vl_compilenn('EnableImreadJpeg',false,'verbose',1) ;
这给了我一长串的错误,其中我复制了几行:
Error using mex
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\vl_nnconv.obj:vl_nnconv.cpp:(.xdata+0x80): undefined reference to
`__gxx_personality_seh0'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0x11a): undefined reference to
`__cxa_guard_acquire'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0x1e9): undefined reference to
`__cxa_guard_release'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0x5a8): undefined reference to `operator
delete(void*)'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0x5ec): undefined reference to
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0x609): undefined reference to `operator
delete(void*)'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0xb3f): undefined reference to
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long long)'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\data.obj:data.cpp:(.text+0xb4d): undefined reference to
`std::__throw_length_error(char const*)'
C:\WINDOWS\system32\matconvnet-1.0-beta25\matlab\mex\.build\bits\impl\tinythread.obj:tinythread.cpp:(.xdata+0xd4): undefined
reference to `__gxx_personality_seh0'
collect2.exe: error: ld returned 1 exit status
Error in vl_compilenn>mex_link (line 627)
mex(args{:}) ;
Error in vl_compilenn (line 500)
mex_link(opts, objs, flags.mex_dir, flags) ;
我在互联网上搜索了很多,但我无法找到解决方案。任何帮助将不胜感激。