[pHash-support] I get a Compilation error with MVPTree
Evan Klinger
eklinger at phash.org
Wed Jan 11 10:33:39 PST 2012
Hi Romain,
This is caused by an incompatibility in the MVPTree definitions in the
original pHash package and the new MVPTree package. The quickest fix
is to remove all references in pHash.h to MVPTree functions and types
(e.g. DP, MVPTree, dp_alloc, etc).
Thanks
Evan
On Wed, Jan 11, 2012 at 1:58 AM, Romain Moyne <romain.moyne at gmail.com> wrote:
> Hello,
>
> I am trying to compile MVPTree but I get a compilation error :
>
> romain at wintour:~/mvptree$ make imget
> rm -f imget.o
> g++ -g -O3 -I. -pthread -I /usr/local/phash/include -c imget.cpp -o imget.o
> imget.cpp: In function 'int main(int, char**)':
> imget.cpp:117: error: cannot convert 'ph_hashtype' to 'MVPDataType' for argument '1' to 'MVPDP* dp_alloc(MVPDataType)'
> make: *** [imget.o] Error 1
> romain at wintour:~/mvptree$ g++ --version
> g++ (Debian 4.4.5-8) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
> I also included the version number of my compiler.
>
> Do you know how to fix this ?
>
> Best,
> Romain
>
> _______________________________________________
> pHash-support mailing list
> pHash-support at lists.phash.org
> http://lists.phash.org/listinfo.cgi/phash-support-phash.org
More information about the pHash-support
mailing list