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

Aleksandr Mokhov alexander.mokhov at gmail.com
Thu Jul 26 10:07:09 CEST 2012


Hello, I had same problem also.
You can disable libmv with help cmake. Option is named  WITH_LIBMV.


2012/7/26 Luke Frisken <l.frisken at gmail.com>

> 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
>>
>>
> _______________________________________________
> 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/646d245d/attachment.htm 


More information about the Soc-2012-dev mailing list