vdr-projects / vdr-plugin-epgsearch

Searchtimer and replacement of the VDR program menu
GNU General Public License v2.0
3 stars 5 forks source link

'MsgOsdSetEvent' is not a member of 'cStatus' #3

Closed papoteur-mga closed 2 years ago

papoteur-mga commented 2 years ago

This is the message I get when trying to compile 2.4.1 with vdr 2.6.1.


g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC  -Wl,--as-needed  -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"'  -o menu_event.o menu_event.c
menu_event.c: In member function 'virtual void cMenuEventSearch::Display()':
menu_event.c:126:14: error: 'MsgOsdSetEvent' is not a member of 'cStatus'
  126 |     cStatus::MsgOsdSetEvent(event);```
tomjfr commented 2 years ago

If you define USE_GRAPHTFT, you need to apply a patch against vdr's main code, which is supplied with vdr-plugin-graphtftng, which among other things defines MsgOsdSetEvent. I'm not aware of a codebase for plugin-graphtft, which is adopted to vdr > 2.3. So normally USE_GRAPHTFT should not be defined.