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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
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.
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>