We are attempting to run buildFobs.sh from distribution (0.4.2). We were able to successfully compile ffmpeg, however when we attempted to run buildFobs.sh, the script that checked for the C header file (libavcodec/avcodec.h) complained that the file was not there. Unfortunally, the file is there, and we are unable to get around the script or find out why it would think the file was missing.
The package config files are present in the correct directory, and also reference the file.
We are looking for suggestions to get around this problem.
Thank-you for any help,
Nick Beser
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm in the same situation like you. But the problem was related to the Decoder.cpp file.
Bellow the error message:
g++ -o core/Decoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/java/j2sdk1.4.2_19/include -I/usr/java/j2sdk1.4.2_19/include/linux core/Decoder.cpp
core/Decoder.cpp: In member function ‘bool omnividea::fobs::Decoder::compareTimeStamps(omnividea::fobs::TimeStamp, omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:94: error: ‘::abs’ has not been declared
core/Decoder.cpp:95: error: ‘::abs’ has not been declared
core/Decoder.cpp: In constructor ‘omnividea::fobs::Decoder::Decoder(const char*)’:
core/Decoder.cpp:123: error: ‘strcpy’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::_open()’:
core/Decoder.cpp:248: error: ‘memset’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getLuminance()’:
core/Decoder.cpp:601: error: ‘memcpy’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeAudioFrame()’:
core/Decoder.cpp:1201: error: ‘memcpy’ was not declared in this scope
scons: *** [core/Decoder.o] Error 1
My box is a Ubuntu 8.1 with JDK 1.4.2, too I have tried with JDK 1.6, but the results was the same.
I hope this problem could be resolved.
Thanks,
Manuel Loayza
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We are attempting to run buildFobs.sh from distribution (0.4.2). We were able to successfully compile ffmpeg, however when we attempted to run buildFobs.sh, the script that checked for the C header file (libavcodec/avcodec.h) complained that the file was not there. Unfortunally, the file is there, and we are unable to get around the script or find out why it would think the file was missing.
The package config files are present in the correct directory, and also reference the file.
We are looking for suggestions to get around this problem.
Thank-you for any help,
Nick Beser
I'm in the same situation like you. But the problem was related to the Decoder.cpp file.
Bellow the error message:
g++ -o core/Decoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/java/j2sdk1.4.2_19/include -I/usr/java/j2sdk1.4.2_19/include/linux core/Decoder.cpp
core/Decoder.cpp: In member function ‘bool omnividea::fobs::Decoder::compareTimeStamps(omnividea::fobs::TimeStamp, omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:94: error: ‘::abs’ has not been declared
core/Decoder.cpp:95: error: ‘::abs’ has not been declared
core/Decoder.cpp: In constructor ‘omnividea::fobs::Decoder::Decoder(const char*)’:
core/Decoder.cpp:123: error: ‘strcpy’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::_open()’:
core/Decoder.cpp:248: error: ‘memset’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getLuminance()’:
core/Decoder.cpp:601: error: ‘memcpy’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeAudioFrame()’:
core/Decoder.cpp:1201: error: ‘memcpy’ was not declared in this scope
scons: *** [core/Decoder.o] Error 1
My box is a Ubuntu 8.1 with JDK 1.4.2, too I have tried with JDK 1.6, but the results was the same.
I hope this problem could be resolved.
Thanks,
Manuel Loayza