Menu

Building fobs4jmf on solaris fails

user
Guschtel
2009-03-09
2013-05-09
  • Guschtel

    Guschtel - 2009-03-09

    Hello,

    i'm currently trying to build fobs4jmf on solaris.
    I managed to get ffmpeg compiled with the current svn version (the one shipped with fobss4jmf didn't compile), but it doesn't ship the (deprecated) img_convert anymore.

    Could you please tell me how to replace the calls to img_convert in Decoder.cpp with new calls?

    SunOS host 5.10 Generic_137111-02 sun4v sparc
    gcc version 4.1.1
    GNU Make 3.81

    fobs-0.4.2 > ./buildFobs.sh
    scons: `.' is up to date.
    scons: Reading SConscript files ...
    Checking for C++ header file stdint.h... (cached) yes
    Checking for C header file libavcodec/avcodec.h... (cached) yes
    Checking for C header file libavformat/avformat.h... (cached) yes
    Checking for C header file libavformat/avi.h... (cached) yes
    Checking for C header file libavformat/riff.h... (cached) yes
    Checking for C header file libswscale/swscale.h... (cached) yes
    Checking for C header file inttypes.h... (cached) yes
    Checking for C type int64_t... (cached) yes
    JAVA_HOME environment variable is not set. Searching for java...  found.
            Java found in:  /opt/local/jdk1.6.0_10
    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o core/Decoder.o -c -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/opt/local/jdk1.6.0_10/include -I/opt/local/jdk1.6.0_10/include/solaris core/Decoder.cpp
    In file included from core/Decoder.h:26,
                     from core/Decoder.cpp:34:
    core/common.h:46:7: warning: no newline at end of file
    In file included from core/Decoder.cpp:36:
    core/PacketBuffer.h:49:3: warning: no newline at end of file
    core/Decoder.cpp: In member function 'virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getLuminance()':
    core/Decoder.cpp:590: error: 'img_convert' was not declared in this scope
    core/Decoder.cpp: In member function 'omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB(int, int)':
    core/Decoder.cpp:715: error: 'img_convert' was not declared in this scope
    core/Decoder.cpp: In member function 'virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB()':
    core/Decoder.cpp:769: error: 'img_convert' was not declared in this scope
    core/Decoder.cpp: In member function 'virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA()':
    core/Decoder.cpp:786: error: 'PIX_FMT_RGBA32' was not declared in this scope
    core/Decoder.cpp:823: error: 'img_convert' was not declared in this scope
    core/Decoder.cpp: In member function 'virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA(char*)':
    core/Decoder.cpp:839: error: 'PIX_FMT_RGBA32' was not declared in this scope
    core/Decoder.cpp:847: error: 'img_convert' was not declared in this scope
    core/Decoder.cpp: In member function 'virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeAudioFrame()':
    core/Decoder.cpp:1145: error: 'avcodec_decode_audio' was not declared in this scope
    scons: *** [core/Decoder.o] Error 1
    scons: building terminated because of errors.

     
    • Jose San Pedro

      Jose San Pedro - 2009-03-14

      Hi there,

      sws_scale was once supporte by Fobs, but had to be removed because of libswscale licensing problems (GPL, not LGPL).

      I'll take a look at this for the next release, but I'm way too busy now to accomplish it in the short term.

      I'll keep you posted.

      Cheers,

      Jose San Pedro

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.