[Soc-2012-dev] Sushi compile stops at ceres/libmv
Alexander Pinzon Fernandez
apinzonf at gmail.com
Sun Jul 29 16:44:14 CEST 2012
This problem exist in the trunk
You can use original code
//Line 42
CERES_HASH_NAMESPACE_START
// Allow us to hash pointers as if they were int's
template<> struct hash< ::ceres::internal::ParameterBlock*> {
size_t operator()(::ceres::internal::ParameterBlock* x) const {
return reinterpret_cast<size_t>(x);
}
};
CERES_HASH_NAMESPACE_END
////////////////////////////////////////////////////////////////////////////////////////
*//if not working try this*
//CERES_HASH_NAMESPACE_START
namespace std {
// Allow us to hash pointers as if they were int's
template<> struct hash< ::ceres::internal::ParameterBlock*> {
size_t operator()(::ceres::internal::ParameterBlock* x) const {
return reinterpret_cast<size_t>(x);
}
};
}
//CERES_HASH_NAMESPACE_END
Att
Alexander Pinzon Fernandez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2012-dev/attachments/20120729/73f57a95/attachment.htm
More information about the Soc-2012-dev
mailing list