[pHash-support] mvptree compile error UINT64ARRAY

Ferdinando Brito fantasyworldpt at gmail.com
Fri Feb 8 16:08:17 PST 2013


Hi all,

I'm new to pHash and not very skilled at troubleshooting compile errors.

I'm trying to compile mvptree step 3 of the process ( make imget ) but keep getting an error:

g++ -g -O3 -I.  -pthread -I /usr/local/include -c imget.cpp -o imget.o
imget.cpp: In function 'int main(int, char**)':
imget.cpp:117: error: 'UINT64ARRAY' was not declared in this scope
imget.cpp:151: warning: format '%d' expects type 'int', but argument 3 has type 'long long unsigned int'
imget.cpp:151: warning: format '%d' expects type 'int', but argument 3 has type 'long long unsigned int'
make: *** [imget.o] Error 1


I've searched the headers of the included files for the compilation process and don't see 'UINT64ARRAY' declared anywhere. Am I doing something wrong?

my g++ -v info is:

Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~148/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

My OS is OSX 10.8.2 Mountain Lion.

Any help, pointers or hints are welcome.

Thanks in advance,
Wulf


More information about the pHash-support mailing list