[pHash-support] Fwd: Unable to Compile, pHash 0.93

Collin Cusce collin.cusce at wmcglobal.com
Thu Sep 2 10:44:37 PDT 2010


I checked their site and it said that as well... but then I noticed that was
for mpg123 not libmpg123. So I went into the changelog and this is what I
saw:

root at dev1:/usr/share/doc/libmpg123-dev# more changelog
Changes in libmpg123 libtool interface versions...

2.0.2
        - New flag MPG123_SEEKBUFFER.

1.0.1
        - Added MPG123_RESYNC_LIMIT parameter.
        - Added MPG123_OUT_OF_SYNC and MPG123_RESYNC_FAIL error codes.
        - Fix for uninitialized framesize value in handle.

Either way, I ran `apt-get install libmpg123-dev` and it says it's up to
date.

--Collin Cusce
--WMC Global
--Technology Manager
--Office: (703) 222-6280 x110



On Thu, Sep 2, 2010 at 1:39 PM, Evan Klinger <eklinger at phash.org> wrote:

> I don't think that's right. The latest version is 1.12.3
>
> Evan
>
>
> On Thu, Sep 2, 2010 at 10:35 AM, Collin Cusce
> <collin.cusce at wmcglobal.com> wrote:
> >
> > According to the changelog associated with this library, I'm running
> libmpg123 v. 2.0.2
> >
> > --Collin Cusce
> > --WMC Global
> > --Technology Manager
> > --Office: (703) 222-6280 x110
> >
> >
> >
> > On Thu, Sep 2, 2010 at 1:29 PM, Evan Klinger <eklinger at phash.org> wrote:
> >>
> >> Collin,
> >> Which version of libmpg123 are you using?
> >>
> >> Evan
> >>
> >> On Thu, Sep 2, 2010 at 9:44 AM, Collin Cusce <
> collin.cusce at wmcglobal.com> wrote:
> >>>
> >>> Hello,
> >>>
> >>> 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.
> >>>
> >>> 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.
> >>>
> >>> root at dev1:/opt/pHash# make
> >>> make  all-recursive
> >>> make[1]: Entering directory `/opt/pHash'
> >>> Making all in src
> >>> make[2]: Entering directory `/opt/pHash/src'
> >>> /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
> >>> 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
> >>> 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
> >>> mv -f .deps/pHash.Tpo .deps/pHash.Plo
> >>> /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
> >>> 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
> >>> audiophash.cpp: In function âfloat* readaudio_mp3(const char*, long
> int*, float, unsigned int*)â:
> >>> audiophash.cpp:54: error: invalid conversion from âconst char*â to
> âchar*â
> >>> audiophash.cpp:54: error:   initializing argument 2 of âint
> mpg123_open(mpg123_handle*, char*)â
> >>> audiophash.cpp:119: error: âMPG123_ENC_FLOAT_32â was not declared in
> this scope
> >>> make[2]: *** [audiophash.lo] Error 1
> >>> make[2]: Leaving directory `/opt/pHash/src'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/opt/pHash'
> >>> make: *** [all] Error 2
> >>>
> >>>
> >>> --Collin Cusce
> >>> --WMC Global
> >>> --Technology Manager
> >>> --Office: (703) 222-6280 x110
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> pHash-support mailing list
> >>> pHash-support at lists.phash.org
> >>> http://lists.phash.org/listinfo.cgi/phash-support-phash.org
> >>>
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phash.org/pipermail/phash-support-phash.org/attachments/20100902/80084257/attachment-0001.htm>


More information about the pHash-support mailing list