Menu

Compile problem fob 0.4.2 on Ubuntu 9.10 32

user
2010-01-08
2013-05-09
  • Harvey King

    Harvey King - 2010-01-08

    Dear all:

    I am on Ubuntu 9.10 32bit, downloaded the latest JMF, Java, and fobs4jmf.
    I followed the instruction in INSTALL file to the letter.

    Yet, when I execute buildFobs.sh, I encountered the following compile errors:

    ‘::abs’ has not been declared
    ‘strcpy’ was not declared in this scope
    ‘memset’ was not declared in this scope
    ‘memcpy’ was not declared in this scope

    what am I missing here?

     
  • Lars Kühne

    Lars Kühne - 2010-01-11

    i'm having the exact same problems. It's within core/Decoder.cpp.
    I'm using Ubuntu 9.04 64-bit. ffmpeg included compiled like breeze.

    If you have already found a solution, let me know.

     
  • Saul

    Saul - 2010-02-25

    Problem is with that since gcc 4.3 (began in ubuntu from 8.10) the header files of stdc++ have been cleaned up.  To fix this you can open each .cpp file and edit it to include the required files:

    *printf:
    #include <cstdio>

    abs:
    #include <cstdlib>

    str*, mem*:
    #include <cstring>

    etc.

    Clearly this project is not active.  I wish it was.

     
  • Vladimir

    Vladimir - 2011-06-04

    I use
    #include <stdlib.h>
    #include <string.h>
    #include <iostream>
    #include <cstring>
    #include <string.h>
    #include <limits.h>
    #include <string.h>
    #include <alloca.h>
    #include <cstdlib>

     

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.