[Soc-2012-dev] Sushi compile stops at ceres/libmv

Luke Frisken l.frisken at gmail.com
Thu Jul 26 03:32:23 CEST 2012


Thanks! I was having the same problem with scons where I couldn't even
figure out how to disable libmv

Luke
On Jul 25, 2012 11:18 PM, "Alexander Pinzon Fernandez" <apinzonf at gmail.com>
wrote:

> 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
>
> _______________________________________________
> Soc-2012-dev mailing list
> Soc-2012-dev at blender.org
> http://lists.blender.org/mailman/listinfo/soc-2012-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2012-dev/attachments/20120726/92e57da1/attachment.htm 


More information about the Soc-2012-dev mailing list