Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
da C++ von mir von ganzem herzen gehasst wird: mich bitte auf unschoenheiten/fehler/... im code aufmerksam machen.
|
|
Source code |
1 2 3 4 5 6 |
make[1]: Entering directory `/build/buildd/vdr-plugin-graphlcd-0.2.0' g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"graphlcd"' -DHAVE_FREETYPE2 -I/usr/include/dvb-s2api-liplianin -I./graphlcd-base/ -I/usr/include/vdr/include -I/usr/include -I/usr/include/freetype2 alias.c g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"graphlcd"' -DHAVE_FREETYPE2 -I/usr/include/dvb-s2api-liplianin -I./graphlcd-base/ -I/usr/include/vdr/include -I/usr/include -I/usr/include/freetype2 common.c common.c: In function 'GLCD::cType DurationType(int, const std::string&)': common.c:73: error: invalid operands of types 'int' and 'double' to binary 'operator%' make[1]: *** [common.o] Error 1 |
This post has been edited 1 times, last edit by "hotzenplotz5" (May 19th 2010, 1:07am)
|
|
Source code |
1 2 |
int f = (Index % DEFAULTFRAMESPERSECOND) + 1;
int s = (Index / DEFAULTFRAMESPERSECOND);
|
|
|
Source code |
1 2 |
int f = (Index % (int)DEFAULTFRAMESPERSECOND) + 1;
int s = (Index / (int)DEFAULTFRAMESPERSECOND);
|
This post has been edited 1 times, last edit by "wastl" (May 19th 2010, 1:38am)
This post has been edited 1 times, last edit by "wastl" (Jun 17th 2010, 12:27am)
This post has been edited 1 times, last edit by "hotzenplotz5" (Jun 17th 2010, 12:35am)
This post has been edited 1 times, last edit by "wastl" (Jun 17th 2010, 9:04am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
diff -urNad vdr-plugin-graphlcd_0.2.0~/common.c vdr-plugin-graphlcd_0.2.0/common.c
--- vdr-plugin-graphlcd_0.2.0~/common.c 2010-05-18 23:03:20.000000000 +0200
+++ vdr-plugin-graphlcd_0.2.0/common.c 2010-05-19 12:57:42.886848453 +0200
@@ -70,8 +70,8 @@
enum { normal, format } state = normal;
int n = 0;
#if VDRVERSNUM >= 10701
- int f = (Index % DEFAULTFRAMESPERSECOND) + 1;
- int s = (Index / DEFAULTFRAMESPERSECOND);
+ int f = (Index % (int)DEFAULTFRAMESPERSECOND) + 1;
+ int s = (Index / (int)DEFAULTFRAMESPERSECOND);
#else
int f = (Index % FRAMESPERSEC) + 1;
int s = (Index / FRAMESPERSEC);
|
Quoted
welcher skin wird verwendet in yavdr
This post has been edited 1 times, last edit by "hotzenplotz5" (Jun 17th 2010, 9:11am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[hd61830] # hd61830 driver # This is a driver module for the Hitachi HD61830 LCD controller. # Default size: 240 x 128 Driver=hd61830 Device=/dev/parport0 #Port=0x378 #Width=240 #Height=128 UpsideDown=yes Invert=no #AdjustTiming=0 #RefreshDisplay=1 |
|
|
Source code |
1 |
-c /etc/graphlcd.conf -d hd61830 |
This post has been edited 1 times, last edit by "wastl" (Jun 17th 2010, 1:50pm)
|
|
Source code |
1 2 3 |
driver.c: In member function 'virtual void GLCD::cDriver::SetScreen(const unsigned char*, int, int, int)': driver.c:38: error: 'stderr' was not declared in this scope driver.c:38: error: 'fprintf' was not declared in this scope |

This post has been edited 1 times, last edit by "hotzenplotz5" (Jun 17th 2010, 8:25pm)