/usr/include/c++/v1/map:837:5: error: static_assert failed "Allocator::value_type must be same type as value_type"

Otacílio otacilio.neto at bsd.com.br
Tue Jun 14 04:05:28 UTC 2016


I'm getting this error when I try compile the ORB-SLAM2 library. Some 
one can give me a hint about it?


/usr/include/c++/v1/map:837:5: error: static_assert failed 
"Allocator::value_type must be same type as value_type"
     static_assert((is_same<typename allocator_type::value_type, 
value_type>::value),



Thanks a lot.

-Otacílio



More information about the freebsd-hackers mailing list