Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Compile of svn 584 fails

Help
smo00
2008-01-13
2013-04-25
  • smo00
    smo00
    2008-01-13

    Hi,

    when compiling svn584 I have the following problem:

    lib/ContentDirectory/FileDetails.cpp:276: error: 'MP4FileHandle' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:276: error: expected `;' before 'mp4file'
    lib/ContentDirectory/FileDetails.cpp:277: error: 'mp4file' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:283: error: 'mp4file' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:283: error: 'MP4GetMetadataName' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:289: error: 'MP4GetTimeScale' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:290: error: 'MP4Duration' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:290: error: expected `;' before 'length'
    lib/ContentDirectory/FileDetails.cpp:292: error: 'length' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:304: error: 'MP4_AUDIO_TRACK_TYPE' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:304: error: 'MP4FindTrackId' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:304: error: 'MP4GetTrackAudioChannels' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:307: error: 'MP4GetTrackBitRate' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:311: error: 'MP4GetMetadataArtist' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:317: error: 'MP4GetMetadataGenre' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:323: error: 'MP4GetMetadataAlbum' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:329: error: 'MP4GetMetadataComment' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:337: error: 'MP4GetMetadataTrack' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:341: error: 'MP4GetMetadataYear' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp:347: error: 'MP4Close' was not declared in this scope
    lib/ContentDirectory/FileDetails.cpp: In member function 'bool CFileDetails::GetVideoDetails(std::string, SVideoItem*)':
    lib/ContentDirectory/FileDetails.cpp:476: warning: deprecated conversion from string constant to 'char*'
    lib/ContentDirectory/FileDetails.cpp:478: warning: deprecated conversion from string constant to 'char*'
    lib/ContentDirectory/FileDetails.cpp:482: warning: deprecated conversion from string constant to 'char*'
    make[2]: *** [FileDetails.lo] Fehler 1
    make[2]: Leaving directory `/stuff/Entwicklung/fuppes/fuppes/src'
    make[1]: *** [all] Fehler 2
    make[1]: Leaving directory `/stuff/Entwicklung/fuppes/fuppes/src'
    make: *** [all-recursive] Fehler 1

    I'm using Debian Lenny with an installed mpeg4ip-dev (1.6.0-2). Configure tells me:
    [...]
    checking for mpeg4ip-config... /usr/bin/mpeg4ip-config
    checking MPEG4IP_CFLAGS... -g -O2 -DUSE_MMX -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
    [...]
    mpeg4ip    : enabled (mp4/ma4 metadata extraction)
    [...]

    smo

     
    • Anne
      Anne
      2008-01-13

      You probably missing the libmp4v2-dev package.

       
      • smo00
        smo00
        2008-01-13

        Thanks, you're right!

        smo