[Digikam-devel] Solution to OpenCV «error: ‘ptrdiff_t’ does not name a type»

Simon A. Eugster granjow at gmail.com
Tue May 24 12:49:32 BST 2011


Perhaps someone else is interested in this as well since it prevented me 
from building digikam and frei0r-plugins on debian sid. The manual fix is 
simple (found by googling after some time):
http://web.archiveorange.com/archive/v/b6fbFdu0fh9uQC9aVdpF
i.e. just add «using std::ptrdiff_t;» to the cxcore.hpp file.

Simon



More information about the Digikam-devel mailing list