Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created December 23, 2009 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgallese/262914 to your computer and use it in GitHub Desktop.
Save sgallese/262914 to your computer and use it in GitHub Desktop.
Making all in src
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c -o pHash.lo pHash.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c pHash.cpp -fno-common -DPIC -o .libs/pHash.o
pHash.cpp: In function 'int ph_radon_projections(const cimg_library::CImg<unsigned char>&, int, Projections&)':
pHash.cpp:43: error: 'img->cimg_library::CImg<unsigned char>::width' cannot be used as a function
pHash.cpp:44: error: 'img->cimg_library::CImg<unsigned char>::height' cannot be used as a function
pHash.cpp:63: error: 'PI' is not a member of 'cimg_library::cimg'
pHash.cpp:69: error: 'ptr_radon_map->cimg_library::CImg<unsigned char>::data' cannot be used as a function
pHash.cpp:73: error: 'ptr_radon_map->cimg_library::CImg<unsigned char>::data' cannot be used as a function
pHash.cpp:80: error: 'PI' is not a member of 'cimg_library::cimg'
pHash.cpp:86: error: 'ptr_radon_map->cimg_library::CImg<unsigned char>::data' cannot be used as a function
pHash.cpp:90: error: 'ptr_radon_map->cimg_library::CImg<unsigned char>::data' cannot be used as a function
pHash.cpp: In function 'int ph_feature_vector(const Projections&, Features&)':
pHash.cpp:108: error: 'projection_map.cimg_library::CImg<unsigned char>::height' cannot be used as a function
pHash.cpp: In function 'int ph_dct(const Features&, Digest&)':
pHash.cpp:160: error: 'PI' is not a member of 'cimg_library::cimg'
pHash.cpp: In function 'int ph_image_digest(const cimg_library::CImg<unsigned char>&, double, double, Digest&, int)':
pHash.cpp:229: error: 'const struct cimg_library::CImg<unsigned char>' has no member named 'spectrum'
pHash.cpp:232: error: 'const struct cimg_library::CImg<unsigned char>' has no member named 'spectrum'
pHash.cpp: In function 'cimg_library::CImg<float>* ph_dct_matrix(int)':
pHash.cpp:317: error: 'ptr_matrix->cimg_library::CImg<float>::data' cannot be used as a function
pHash.cpp:317: error: 'PI' is not a member of 'cimg_library::cimg'
pHash.cpp: In function 'int ph_dct_imagehash(const char*, ulong64&)':
pHash.cpp:336: error: 'struct cimg_library::CImg<unsigned char>' has no member named 'spectrum'
pHash.cpp:338: error: 'struct cimg_library::CImg<float>' has no member named 'spectrum'
pHash.cpp: In function 'cimg_library::CImgList<unsigned char>* ph_getKeyFramesFromVideo(const char*)':
pHash.cpp:413: error: 'pframelist->cimg_library::CImgList<unsigned char>::size' cannot be used as a function
pHash.cpp: In function 'ulong64* ph_dct_videohash(const char*, int&)':
pHash.cpp:551: error: 'keyframes->cimg_library::CImgList<unsigned char>::size' cannot be used as a function
pHash.cpp:560: error: 'keyframes->cimg_library::CImgList<unsigned char>::size' cannot be used as a function
pHash.cpp: In function 'MVPRetCode ph_query_mvptree(MVPFile*, DP*, int, float, DP**, int*)':
pHash.cpp:1224: error: 'struct ph_mvp_file' has no member named 'int_pgsize'
make[2]: *** [pHash.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment