-
-
Save fusentasticus/7a896030ce5abf105b53 to your computer and use it in GitHub Desktop.
libigl: Function templating going awry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xrefwrap(431): error C2064: term does not evaluate to a function taking 1 arguments | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : see reference to function template instantiation '_Ret std::_Callable_obj<_Ty>::_ApplyX<_Rx,igl::Viewer&>(_V0_t)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _Ty=int, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer & | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : see reference to function template instantiation '_Ret std::_Callable_obj<_Ty>::_ApplyX<_Rx,igl::Viewer&>(_V0_t)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _Ty=int, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer & | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : while compiling class template member function 'bool std::_Func_impl<_Callable,_Alloc,_Rx,_V0_t>::_Do_call(_V0_t)' | |
2> with | |
2> [ | |
2> _Callable=_MyWrapper, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>>, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer & | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(515) : see reference to class template instantiation 'std::_Func_impl<_Callable,_Alloc,_Rx,_V0_t>' being compiled | |
2> with | |
2> [ | |
2> _Callable=_MyWrapper, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>>, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer & | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(515) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>>, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(515) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>>, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(515) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,_V0_t>>>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Fty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>> | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(515) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,_V0_t>>>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Fty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &>> | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(692) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Reset<_Ty>(_Fty &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(692) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t>::_Reset<_Ty>(_Fty &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _Ty=int, | |
2> _Fty=int | |
2> ] | |
2> k:\documents\github\libigl\include\igl\viewer\Viewer.cpp(429) : see reference to function template instantiation 'std::function<_Fty> &std::function<_Fty>::operator =<int>(_Fx &&)' being compiled | |
2> with | |
2> [ | |
2> _Fty=bool (igl::Viewer &), | |
2> _Fx=int | |
2> ] | |
2> k:\documents\github\libigl\include\igl\viewer\Viewer.cpp(429) : see reference to function template instantiation 'std::function<_Fty> &std::function<_Fty>::operator =<int>(_Fx &&)' being compiled | |
2> with | |
2> [ | |
2> _Fty=bool (igl::Viewer &), | |
2> _Fx=int | |
2> ] | |
2>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xrefwrap(431): error C2064: term does not evaluate to a function taking 3 arguments | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : see reference to function template instantiation '_Ret std::_Callable_obj<_Ty>::_ApplyX<_Rx,igl::Viewer&,_Ty,_Ty>(_V0_t,_V1_t &&,_V2_t &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _Ty=int, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : see reference to function template instantiation '_Ret std::_Callable_obj<_Ty>::_ApplyX<_Rx,igl::Viewer&,_Ty,_Ty>(_V0_t,_V1_t &&,_V2_t &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _Ty=int, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(239) : while compiling class template member function 'bool std::_Func_impl<_Callable,_Alloc,_Rx,_V0_t,_V1_t,_V2_t>::_Do_call(_V0_t,_V1_t &&,_V2_t &&)' | |
2> with | |
2> [ | |
2> _Callable=_MyWrapper, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>>, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(516) : see reference to class template instantiation 'std::_Func_impl<_Callable,_Alloc,_Rx,_V0_t,_V1_t,_V2_t>' being compiled | |
2> with | |
2> [ | |
2> _Callable=_MyWrapper, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>>, | |
2> _Rx=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(516) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>>, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(516) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>>, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(516) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>>>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Fty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>> | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(516) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>>>(_Fty &&,_Alloc)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Fty=int, | |
2> _Alloc=std::allocator<std::_Func_class<bool,igl::Viewer &,int,int>> | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(692) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Reset<_Ty>(_Fty &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Fty=int | |
2> ] | |
2> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional(692) : see reference to function template instantiation 'void std::_Func_class<_Ret,_V0_t,_V1_t,_V2_t>::_Reset<_Ty>(_Fty &&)' being compiled | |
2> with | |
2> [ | |
2> _Ret=bool, | |
2> _V0_t=igl::Viewer &, | |
2> _V1_t=int, | |
2> _V2_t=int, | |
2> _Ty=int, | |
2> _Fty=int | |
2> ] | |
2> k:\documents\github\libigl\include\igl\viewer\Viewer.cpp(432) : see reference to function template instantiation 'std::function<_Fty> &std::function<_Fty>::operator =<int>(_Fx &&)' being compiled | |
2> with | |
2> [ | |
2> _Fty=bool (igl::Viewer &,int,int), | |
2> _Fx=int | |
2> ] | |
2> k:\documents\github\libigl\include\igl\viewer\Viewer.cpp(432) : see reference to function template instantiation 'std::function<_Fty> &std::function<_Fty>::operator =<int>(_Fx &&)' being compiled | |
2> with | |
2> [ | |
2> _Fty=bool (igl::Viewer &,int,int), | |
2> _Fx=int | |
2> ] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment