dlib compilation

Error C2535 "unknown-type dlib :: gopt_impl :: call_function_and_expand_args <max_unpack> :: go (T &&, const dlib :: matrix <double, 0,1, dlib :: default_memory_manager, dlib :: row_major_layout> &)": already member function definition or declaration
error C2535 "unknown-type dlib :: gopt_impl :: call_function_and_expand_args <max_unpack> :: go (T &&, const dlib :: matrix <double, 0,1, dlib :: default_memory_manager, dlib :: row_major_layout> &) ': member function already defined or declared


Solution 1
            delete auto.cpp and kalman_filter.cpp source file


Solution 2

            VS2015 use language features of C11 on a particular aspect of support is not enough, resulting in compilation errors need to be Pack3 VS2015 patch. After trying without success, to use VS2017, compiled no problem, but can not use GPU acceleration using graphics, graphics driver support for VS2017 is currently not good enough

Guess you like

Origin blog.51cto.com/fengyuzaitu/2446687