-
Notifications
You must be signed in to change notification settings - Fork 24
building piomxtextures failed #9
Comments
Yup, seems like |
Thanks, It worked to build PiOmxTextures!! But now I am getting this issues when running ~/piomxtextures_pocplayer /opt/vc/src/hello_pi/hello_video/test.h264 👍 GStreamer; Unable to pause - "file:///opt/vc/src/hello_pi/hello_video/test.h264" And I just get a black screen. Any ideas, should I open other Issue? |
Remove gstreamer from rpi |
I tried with:sudo apt-get purge gstreamer
|
|
I wrote that, I dont know why it didn´t show right in the comment |
Oh, yea, markdown formatting :) I'm not sure then, there is probably a way to select proper backend, but I really dunno how. |
Ok Thanks, I will let you know I find out how to selected. Thanks again! |
I just tried your updated script and I'm getting the following error:
I did a search and I find avutil.h here:
|
@GeorgeIoak looks higher when building piomxtextures and check that ffmpeg compiled successfully |
ffmpeg compiler test failed
|
I been trying to follow the steps but when I try to build piomxtextures I got some errors.
I am using Ubuntu 16.04 64 bits in a Virtual Machine Using Parallels Desktop Software, and I and trying to build for a raspberry pi 3. I think the problem is related with LightLogger but I don't know how to fix it. I would appreciate any ideas. Thanks:
This what I got when executing 4_build_piomxtextures.sh :
from /home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:54:
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp: In member function ‘bool OpenMAXILTextureLoader::loadTextureFromImage(QString, EGLDisplay, EGLContext, GLuint&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:109:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Error occurred: %s.", e.what());
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:109:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Error occurred: %s.", e.what());
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log_ ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp: In member function ‘void OpenMAXILTextureLoader::doLoadTextureFromImage(QString, EGLDisplay, EGLContext, GLuint&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:157:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Disabling all the ports...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:157:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Disabling all the ports...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:310:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to destroy EGL image.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:310:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to destroy EGL image.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp: In member function ‘void OpenMAXILTextureLoader::onDecoderOutputChangedImage(EGLDisplay, EGLContext, GLuint&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:439:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "%s\n", sLog);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:439:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "%s\n", sLog);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:465:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OpenMAXILTextureLoader::decode - OMX_UseEGLImage - failed with omxErr(0x%x)\n", omxErr);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:465:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OpenMAXILTextureLoader::decode - OMX_UseEGLImage - failed with omxErr(0x%x)\n", omxErr);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp: In member function ‘void* OpenMAXILTextureLoader::getEGLImage(OMX_U32, OMX_U32, EGLDisplay, EGLContext, GLuint&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:507:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "EGLImage: %x.", (unsigned int)eglImage);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:507:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "EGLImage: %x.", (unsigned int)eglImage);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:511:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to create KHR image: %d.", eglErr);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/openmaxiltextureloader.cpp:511:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to create KHR image: %d.", eglErr);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
Makefile:2944: recipe for target 'openmaxiltextureloader.o' failed
make[2]: *** [openmaxiltextureloader.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_logging.h:33:0,
from /home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:17:
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘OMX_ERRORTYPE OMXComponent::GetParameter(OMX_INDEXTYPE, OMX_PTR)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:45:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_GetParameter failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:45:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_GetParameter failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::SetParameter(OMX_INDEXTYPE, OMX_PTR)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:56:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_SetParameter failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:56:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_SetParameter failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::sendCommand(OMX_COMMANDTYPE, int, OMX_PTR)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:65:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_SendCommand failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:65:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_SendCommand failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::getState(OMX_STATETYPE&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:74:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_GetState failed: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:74:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_GetState failed: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::UseBuffer(OMX_BUFFERHEADERTYPE**, OMX_U32, OMX_PTR, OMX_U32, OMX_U8*)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:110:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_UseBuffer failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:110:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "OMX_UseBuffer failed with code: %x.", err);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:116:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Adding buffer to port.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:116:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Adding buffer to port.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::enablePortBuffers(OMX_U32)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:151:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Providing %u buffers...", portdef.nBufferCountActual);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:151:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Providing %u buffers...", portdef.nBufferCountActual);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::disablePortBuffers(OMX_U32)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:270:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Buffer list size: %d.", buffers.size());
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:270:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Buffer list size: %d.", buffers.size());
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::EmptyThisBuffer(OMX_BUFFERHEADERTYPE*)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:883:36: error: ‘log_warn_t’ was not declared in this scope
log_warn_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:294:9: note: in expansion of macro ‘LOG_WARNING’
LOG_WARNING(LOG_TAG, "OMX_Empty this buffer failed with code: %x.", type);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:883:36: note: suggested alternative:
log_warn_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:294:9: note: in expansion of macro ‘LOG_WARNING’
LOG_WARNING(LOG_TAG, "OMX_Empty this buffer failed with code: %x.", type);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_warn_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:672:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(warn, LC_LOG_WARN, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘void OMXComponent::FillThisBuffer(OMX_BUFFERHEADERTYPE*)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:303:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_FillThisBuffer failed with code: %x.", omxError);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:303:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "OMX_FillThisBuffer failed with code: %x.", omxError);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘bool OMXComponent::waitForInputBufferReady(OMX_U32, OMX_BUFFERHEADERTYPE*&)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:359:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "No buffer for that port is available.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:359:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "No buffer for that port is available.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:365:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Waiting for an available buffer...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:365:9: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Waiting for an available buffer...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘IEventSPtr OMXComponent::WaitForGeneric(const std::list<std::tr1::shared_ptr >&, int)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:599:13: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Finished scanning event list.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:599:13: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Finished scanning event list.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In destructor ‘virtual OMXComponent::~OMXComponent()’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:626:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Destroying component.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:626:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "Destroying component.");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: error: ‘log_err_t’ was not declared in this scope
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:629:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to free handle %x.", (unsigned int)m_handle);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:881:35: note: suggested alternative:
log_err_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:629:9: note: in expansion of macro ‘LOG_ERROR’
LOG_ERROR(LOG_TAG, "Failed to free handle %x.", (unsigned int)m_handle);
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:398:20: note: ‘lightlogger::log_err_t’
#define FUNC(name) log ##name
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:408:16: note: in expansion of macro ‘FUNC’
inline bool FUNC(name ##t)(const char* log_tag, const char* format, ...)
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:655:1: note: in expansion of macro ‘GENERATE_LEVEL’
GENERATE_LEVEL(err, LC_LOG_ERROR, false)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp: In member function ‘virtual OMX_ERRORTYPE OMXComponent::emptyBufferDone(OMX_BUFFERHEADERTYPE*)’:
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: error: ‘log_verbose_t’ was not declared in this scope
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:721:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "EmptyBufferDone entering mutex...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:887:39: note: suggested alternative:
log_verbose_t(tag, f, ##VA_ARGS)
^
/home/parallels/raspi3/src/piomxtextures/piomxtextures_src/omx_wrapper/OMXComponent.cpp:721:5: note: in expansion of macro ‘LOG_VERBOSE’
LOG_VERBOSE(LOG_TAG, "EmptyBufferDone entering mutex...");
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:456:19: note: ‘lightlogger::log_verbose_t’
inline rettype log ##name ##_t(...) {content;}
^
/home/parallels/raspi3/src/piomxtextures/3rdparty/LightLogger/lc_logging.h:808:1: note: in expansion of macro ‘GENERATE_LEVEL_CUSTOM’
GENERATE_LEVEL_CUSTOM(verbose, bool, return true)
^
Makefile:3044: recipe for target 'OMXComponent.o' failed
make[2]: *** [OMXComponent.o] Error 1
make[2]: Leaving directory '/home/parallels/raspi3/src/piomxtextures/piomxtextures_qt_driver/mediaplayer'
Makefile:42: recipe for target 'sub-mediaplayer-make_first' failed
make[1]: *** [sub-mediaplayer-make_first] Error 2
make[1]: Leaving directory '/home/parallels/raspi3/src/piomxtextures/piomxtextures_qt_driver'
Makefile:73: recipe for target 'sub-piomxtextures_qt_driver-make_first' failed
make: *** [sub-piomxtextures_qt_driver-make_first] Error 2
This is my env.sh file:
#!/bin/bash
RPIDEV_ROOT=~/raspi3
export RPIDEV_TOOLS=${RPIDEV_ROOT}/tools
export RPIDEV_SRC=${RPIDEV_ROOT}/src
export RPIDEV_BUILD=${RPIDEV_ROOT}/build
export RPIDEV_SYSROOT=${RPIDEV_ROOT}/sysroot
export RPIDEV_JOBS=$(grep -c "^processor" /proc/cpuinfo)
device info
export RPIDEV_DEVICE_VERSION=pi3 # pi1 pi2 pi3 (only tested pi3)
export RPIDEV_DEVICE_ADDRESS=172.16.40.162 # ip if device
export RPIDEV_DEVICE_USER=pi # username
export RPIDEV_DEVICE_PW=raspberry # password
qt paths
export QT_INSTALL_DIR=${RPIDEV_BUILD}/qt5.8
export QT_INSTALL_DIR_HOST=${RPIDEV_BUILD}/qt5.8-host
export QT_DEVICE_DIR=/usr/local/qt5.8
configure piomxtextures
export RPI_SYSROOT=${RPIDEV_SYSROOT}
export COMPILER_PATH=${RPIDEV_TOOLS}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
configure pkg config
export PKG_CONFIG_DIR=
export PKG_CONFIG_LIBDIR=${RPIDEV_SYSROOT}/usr/lib/pkgconfig:${RPIDEV_SYSROOT}/usr/share/pkgconfig:${RPIDEV_SYSROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${RPIDEV_SYSROOT}
And this is my 3.0_build_qtbase.sh
#!/bin/bash
set -e
SCRIPTDIR=$(dirname "$0")
source $SCRIPTDIR/env.sh
SOURCE_DIR=${RPIDEV_SRC}/qtbase
cd $SOURCE_DIR
echo
echo "== Cleaning previous build =="
echo
rm -rf ${QT_INSTALL_DIR}
rm -rf ${QT_INSTALL_DIR_HOST}
echo
echo "== Configuring qtbase =="
echo
DEVICE=
if [ "$RPIDEV_DEVICE_VERSION" == "pi1" ]; then
DEVICE=linux-rasp-pi-g++
elif [ "$RPIDEV_DEVICE_VERSION" == "pi2" ]; then
DEVICE=linux-rasp-pi2-g++
elif [ "$RPIDEV_DEVICE_VERSION" == "pi3" ]; then
DEVICE=linux-rpi3-g++
elif [ "$RPIDEV_DEVICE_VERSION" == "pi3v2" ]; then
DEVICE=linux-rpi3-vc4-g++
else
echo "${BASH_SOURCE[1]}: line ${BASH_LINENO[0]}: ${FUNCNAME[1]}: Unknown device $RPIDEV_DEVICE_VERSION." >&2
exit 1
fi
./configure -release -opengl es2 -no-opengles3 -device ${DEVICE}
-device-option CROSS_COMPILE=${COMPILER_PATH}/arm-linux-gnueabihf-
-sysroot ${RPIDEV_SYSROOT} -opensource -confirm-license -make libs
-prefix ${QT_DEVICE_DIR} -extprefix ${QT_INSTALL_DIR} -hostprefix ${QT_INSTALL_DIR_HOST} -v -nomake examples -nomake tests -no-use-gold-linker
read -p "Continue building? [y/n] " -n 1 -r$REPLY =~ ^[Yy]$ ]]
echo
if [[ !
then
exit 1
fi
echo
echo "== Building qtbase =="
echo
make
#make -j${RPIDEV_JOBS}
echo
echo "== Installing qtbase =="
echo
make install
The text was updated successfully, but these errors were encountered: