Hello,<br><div class="gmail_quote"><br>I've been having a lot of trouble with getting pHash to compile and run properly. I'm using Ubuntu on VMWare, and I *think* I've finally gotten all dependencies down because ./configure isn't showing errors. However, when I try to compile, it appears to fail at the audio portion. <br>


<br>I cannot attache the configure log as it's too big for the mailer to accept, but below is the results from the "./make" command.<br><br>root@dev1:/opt/pHash# make<br>make  all-recursive<br>make[1]: Entering directory `/opt/pHash'<br>

Making all in src<br>
make[2]: Entering directory `/opt/pHash/src'<br>/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -g -O2 -pthread -I/usr/local/include -I/usr/include/ffmpeg -Dcimg_use_jpeg -Dcimg_use_png  -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c -o pHash.lo pHash.cpp<br>


libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -I/usr/local/include -I/usr/include/ffmpeg -Dcimg_use_jpeg -Dcimg_use_png -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c pHash.cpp  -fPIC -DPIC -o .libs/pHash.o<br>


libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -I/usr/local/include -I/usr/include/ffmpeg -Dcimg_use_jpeg -Dcimg_use_png -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c pHash.cpp -o pHash.o >/dev/null 2>&1<br>


mv -f .deps/pHash.Tpo .deps/pHash.Plo<br>/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -g -O2 -pthread -I/usr/local/include -I/usr/include/ffmpeg -Dcimg_use_jpeg -Dcimg_use_png  -O2 -ffast-math -O3 -MT audiophash.lo -MD -MP -MF .deps/audiophash.Tpo -c -o audiophash.lo audiophash.cpp<br>


libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -I/usr/local/include -I/usr/include/ffmpeg -Dcimg_use_jpeg -Dcimg_use_png -O2 -ffast-math -O3 -MT audiophash.lo -MD -MP -MF .deps/audiophash.Tpo -c audiophash.cpp  -fPIC -DPIC -o .libs/audiophash.o<br>


audiophash.cpp: In function âfloat* readaudio_mp3(const char*, long int*, float, unsigned int*)â:<br>audiophash.cpp:54: error: invalid conversion from âconst char*â to âchar*â<br>audiophash.cpp:54: error:   initializing argument 2 of âint mpg123_open(mpg123_handle*, char*)â<br>


audiophash.cpp:119: error: âMPG123_ENC_FLOAT_32â was not declared in this scope<br>make[2]: *** [audiophash.lo] Error 1<br>make[2]: Leaving directory `/opt/pHash/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/opt/pHash'<br>


make: *** [all] Error 2<br><font color="#888888"><br clear="all"><br>--Collin Cusce<br>--WMC Global<br>--Technology Manager<br>--Office: (703) 222-6280 x110<br><br>
</font></div><br>