Damit geht es schon mal weiter, jetzt hängts bei
build log
Code
openglosd.cpp:1405:9: note: in expansion of macro ‘esyslog’
esyslog("[softhddev]memory allocation of %d kb for OSD image failed", imgSize * sizeof(tColor) / 1024);
^
openglosd.cpp: In member function ‘virtual void cOglPixmap::DrawText(const cPoint&, const char*, tColor, tColor, const cFont*, int, int, int)’:
openglosd.cpp:1751:54: error: ‘max’ was not declared in this scope
x += max(h / TEXT_ALIGN_BORDER, 1);
^
openglosd.cpp:1751:54: note: suggested alternatives:
In file included from /usr/include/c++/5.3.0/memory:62:0,
from openglosd.h:29,
from openglosd.cpp:2:
/usr/include/c++/5.3.0/bits/stl_algobase.h:265:5: note: ‘std::max’
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
In file included from /usr/include/glm/detail/func_common.hpp:455:0,
from /usr/include/glm/common.hpp:35,
from /usr/include/glm/glm.hpp:112,
from openglosd.h:8,
from openglosd.cpp:2:
/usr/include/glm/detail/func_common.inl:444:35: note: ‘glm::max’
GLM_FUNC_QUALIFIER vecType<T, P> max(vecType<T, P> const & a, vecType<T, P> const & b)
^
openglosd.cpp:1756:58: error: ‘max’ was not declared in this scope
x -= max(h / TEXT_ALIGN_BORDER, 1);
^
openglosd.cpp:1756:58: note: suggested alternatives:
In file included from /usr/include/c++/5.3.0/memory:62:0,
from openglosd.h:29,
from openglosd.cpp:2:
/usr/include/c++/5.3.0/bits/stl_algobase.h:265:5: note: ‘std::max’
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
In file included from /usr/include/glm/detail/func_common.hpp:455:0,
from /usr/include/glm/common.hpp:35,
from /usr/include/glm/glm.hpp:112,
from openglosd.h:8,
from openglosd.cpp:2:
/usr/include/glm/detail/func_common.inl:444:35: note: ‘glm::max’
GLM_FUNC_QUALIFIER vecType<T, P> max(vecType<T, P> const & a, vecType<T, P> const & b)
^
In file included from /usr/local/src/vdr-2.2.0/include/vdr/i18n.h:14:0,
from /usr/local/src/vdr-2.2.0/include/vdr/plugin.h:13,
from openglosd.h:32,
from openglosd.cpp:2:
openglosd.cpp: In member function ‘virtual cPixmap* cOglOsd::CreatePixmap(int, const cRect&, const cRect&)’:
openglosd.cpp:1875:74: error: ‘min’ was not declared in this scope
width, height, min(width, oglThread->MaxTextureSize()), min(height, oglThread->MaxTextureSize()));
^
/usr/local/src/vdr-2.2.0/include/vdr/tools.h:34:76: note: in definition of macro ‘esyslog’
#define esyslog(a...) void( (SysLogLevel > 0) ? syslog_with_tid(LOG_ERR, a) : void() )
^
openglosd.cpp:1875:74: note: suggested alternatives:
width, height, min(width, oglThread->MaxTextureSize()), min(height, oglThread->MaxTextureSize()));
^
/usr/local/src/vdr-2.2.0/include/vdr/tools.h:34:76: note: in definition of macro ‘esyslog’
#define esyslog(a...) void( (SysLogLevel > 0) ? syslog_with_tid(LOG_ERR, a) : void() )
^
In file included from /usr/include/c++/5.3.0/memory:62:0,
from openglosd.h:29,
from openglosd.cpp:2:
/usr/include/c++/5.3.0/bits/stl_algobase.h:243:5: note: ‘std::min’
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
In file included from /usr/include/glm/detail/func_common.hpp:455:0,
from /usr/include/glm/common.hpp:35,
from /usr/include/glm/glm.hpp:112,
from openglosd.h:8,
from openglosd.cpp:2:
/usr/include/glm/detail/func_common.inl:423:35: note: ‘glm::min’
GLM_FUNC_QUALIFIER vecType<T, P> min(vecType<T, P> const & a, vecType<T, P> const & b)
^
openglosd.cpp: At global scope:
openglosd.cpp:1948:76: warning: unused parameter ‘FactorX’ [-Wunused-parameter]
void cOglOsd::DrawScaledBitmap(int x, int y, const cBitmap &Bitmap, double FactorX, double FactorY, bool AntiAlias) {
^
openglosd.cpp:1948:92: warning: unused parameter ‘FactorY’ [-Wunused-parameter]
void cOglOsd::DrawScaledBitmap(int x, int y, const cBitmap &Bitmap, double FactorX, double FactorY, bool AntiAlias) {
^
openglosd.cpp:1948:106: warning: unused parameter ‘AntiAlias’ [-Wunused-parameter]
void cOglOsd::DrawScaledBitmap(int x, int y, const cBitmap &Bitmap, double FactorX, double FactorY, bool AntiAlias) {
^
<builtin>: recipe for target 'openglosd.o' failed
make: *** [openglosd.o] Error 1
make: *** Waiting for unfinished jobs....
Display More
Peter