Hi
In debian sid the're updated packages for imagic
liblqr-1-0-dev (0.4.1-1) ... libmagick++2 (7:6.5.1.0-1.1) ... libmagickcore-dev (7:6.5.1.0-1.1) ... libmagickwand-dev (7:6.5.1.0-1.1) ... libmagick++-dev (7:6.5.1.0-1.1) .
with vdr 178 I couldn't compile vdr-weatherng-0.0.10.tar.bz2
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I../s2-liplianin/linux/include -I../../../include -obitmap.o bitmap.c In file included from bitmap.h:8, from bitmap.c:5: imagecache.h:22: error: ‘uint’ does not name a type imagecache.h:29: error: expected `)' before ‘MaxItems’ imagecache.h:36: error: ‘uint’ does not name a type imagecache.h:46: error: expected constructor, destructor, or type conversion before ‘(’ token imagecache.h: In member function ‘data_type& cxCache<key_type, data_type>::operator[](const key_type&)’: imagecache.h:91: error: ‘mMaxItems’ was not declared in this scope In file included from bitmap.c:5: bitmap.h: In constructor ‘cBitmapCache::cBitmapCache(uint)’: bitmap.h:58: error: no matching function for call to ‘cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(uint&)’ imagecache.h:13: note: candidates are: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache() imagecache.h:13: note: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(const cxCache<tBitmapSpec, cWeatherBitmap*>&) make: *** [bitmap.o] Ошибка 1
any ideas ?
Приветствую, Goga777
with gcc 4.3.* патч http://www.vdr-portal.de/board/thread.php?postid=776855#post776855 Ш could compile plugin
Hi
In debian sid the're updated packages for imagic
liblqr-1-0-dev (0.4.1-1) ... libmagick++2 (7:6.5.1.0-1.1) ... libmagickcore-dev (7:6.5.1.0-1.1) ... libmagickwand-dev (7:6.5.1.0-1.1) ... libmagick++-dev (7:6.5.1.0-1.1) .
with vdr 178 I couldn't compile vdr-weatherng-0.0.10.tar.bz2
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I../s2-liplianin/linux/include -I../../../include -obitmap.o bitmap.c In file included from bitmap.h:8, from bitmap.c:5: imagecache.h:22: error: ‘uint’ does not name a type imagecache.h:29: error: expected `)' before ‘MaxItems’ imagecache.h:36: error: ‘uint’ does not name a type imagecache.h:46: error: expected constructor, destructor, or type conversion before ‘(’ token imagecache.h: In member function ‘data_type& cxCache<key_type, data_type>::operator[](const key_type&)’: imagecache.h:91: error: ‘mMaxItems’ was not declared in this scope In file included from bitmap.c:5: bitmap.h: In constructor ‘cBitmapCache::cBitmapCache(uint)’: bitmap.h:58: error: no matching function for call to ‘cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(uint&)’ imagecache.h:13: note: candidates are: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache() imagecache.h:13: note: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(const cxCache<tBitmapSpec, cWeatherBitmap*>&) make: *** [bitmap.o] Ошибка 1
Revert back to gcc-4.2 compiles fine. ----- Original Message ----- From: "Goga777" goga777@bk.ru To: vdr@linuxtv.org Sent: Thursday, June 18, 2009 7:14 AM Subject: Re: [vdr] vdr-weatherng-0.0.10 - can't compile with vdr 1.7.8 and debian sid
Приветствую, Goga777
with gcc 4.3.* патч http://www.vdr-portal.de/board/thread.php?postid=776855#post776855 Ш could compile plugin
Hi
In debian sid the're updated packages for imagic
liblqr-1-0-dev (0.4.1-1) ... libmagick++2 (7:6.5.1.0-1.1) ... libmagickcore-dev (7:6.5.1.0-1.1) ... libmagickwand-dev (7:6.5.1.0-1.1) ... libmagick++-dev (7:6.5.1.0-1.1) .
with vdr 178 I couldn't compile vdr-weatherng-0.0.10.tar.bz2
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I../s2-liplianin/linux/include -I../../../include -obitmap.o bitmap.c In file included from bitmap.h:8, from bitmap.c:5: imagecache.h:22: error: ‘uint’ does not name a type imagecache.h:29: error: expected `)' before ‘MaxItems’ imagecache.h:36: error: ‘uint’ does not name a type imagecache.h:46: error: expected constructor, destructor, or type conversion before ‘(’ token imagecache.h: In member function ‘data_type& cxCache<key_type, data_type>::operator[](const key_type&)’: imagecache.h:91: error: ‘mMaxItems’ was not declared in this scope In file included from bitmap.c:5: bitmap.h: In constructor ‘cBitmapCache::cBitmapCache(uint)’: bitmap.h:58: error: no matching function for call to ‘cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(uint&)’ imagecache.h:13: note: candidates are: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache() imagecache.h:13: note: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(const cxCache<tBitmapSpec, cWeatherBitmap*>&) make: *** [bitmap.o] Ошибка 1
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Приветствую, hu_emulator
I solved my problem with gcc 4.3. patch from vdr-portal could you run weatherng on vdr 178 ? I could compile but I couldn't it run properly
when I try to download the dates from Internet I have the crash
which imageMagic version should I use - in debian sid there are several versions of libmagic and libmagic+++
libmagic-dev: /usr/lib/libmagic.so
libmagic1: /usr/share/doc/libmagic1/copyright libmagick++-dev: /usr/share/doc/libmagick++-dev/changelog.Debian.gz
libmagick++-dev: /usr/share/doc/libmagick++-dev/copyright libmagick++10: /usr/share/doc/libmagick++10/changelog.Debian.gz
libmagick10: /usr/share/doc/libmagick10/copyright libmagick9-dev: /usr/share/doc/libmagick9-dev/changelog.Debian.gz
libmagick++9-dev: /usr/share/doc/libmagick++9-dev/changelog.Debian.gz
libmagick9-dev: /usr/share/doc/libmagick9-dev/upgrade-checklist.txt.gz libmagickcore-dev: /usr/share/doc/libmagickcore-dev/changelog.Debian.gz
My logs
arvdr@arvdr:/vdr$ LANG=C ./vdr -P"xine -p -r" -P weatherng weatherng: no themefile found ! ------------------------- MakePrimaryDevice: 1 ========================= SetVideoFormat: 0 SetVolumeDevice: 255 SetAudioChannelDevice: 0 SetVolumeDevice: 255 SetPlayMode: 1 SetDigitalAudioDevice: 0 frame: (0, 0)-(-1, -1), zoom: (1.00, 1.00) vdr-xine: Client connecting ... vdr-xine: Client connected! frame: (0, 0)-(720, 576), zoom: (1.00, 1.00) checking image with spec /etc/vdr/plugins/weatherng/images/44.png_210_196_196_14..weatherng-image: load image /etc/vdr/plugins/weatherng/images/44.png vdr: magick/cache.c:3459: GetVirtualPixels: Assertion `cache_info->signature == 0xabacadabUL' failed. Аварийный останов
n 18 22:28:16 arvdr vdr: [4235] VDR version 1.7.8 started Jun 18 22:28:16 arvdr vdr: [4235] codeset is 'ANSI_X3.4-1968' - unknown Jun 18 22:28:16 arvdr vdr: [4235] found 0 locales in ./locale Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'deu,ger' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'slv,slo' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'ita' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'dut,nla,nld' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'por' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'fra,fre' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'nor' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'fin,suo' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'pol' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'esl,spa' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'ell,gre' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'sve,swe' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'rom,rum' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'hun' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'cat,cln' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'rus' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'hrv' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'est' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'dan' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'cze,ces' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'tur' Jun 18 22:28:16 arvdr vdr: [4235] no locale for language code 'ukr' Jun 18 22:28:16 arvdr vdr: [4235] loading plugin: ./PLUGINS/lib/libvdr-xine.so.1.7.8 Jun 18 22:28:17 arvdr vdr: [4235] loading plugin: ./PLUGINS/lib/libvdr-weatherng.so.1.7.8 Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/setup.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/sources.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/diseqc.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/channels.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/timers.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/svdrphosts.conf Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/remote.conf Jun 18 22:28:17 arvdr vdr: [4236] video directory scanner thread started (pid=4235, tid=4236) Jun 18 22:28:17 arvdr vdr: [4236] video directory scanner thread ended (pid=4235, tid=4236) Jun 18 22:28:17 arvdr vdr: [4237] video directory scanner thread started (pid=4235, tid=4237) Jun 18 22:28:17 arvdr vdr: [4237] video directory scanner thread ended (pid=4235, tid=4237) Jun 18 22:28:17 arvdr vdr: [4235] reading EPG data from /video/epg.data Jun 18 22:28:17 arvdr vdr: [4235] probing /dev/dvb/adapter0/frontend0 Jun 18 22:28:17 arvdr vdr: [4235] device 1 provides DVB-S2 ("Conexant CX24116/CX24118") Jun 18 22:28:17 arvdr vdr: [4239] tuner on device 1 thread started (pid=4235, tid=4239) Jun 18 22:28:17 arvdr vdr: [4240] section handler thread started (pid=4235, tid=4240) Jun 18 22:28:17 arvdr vdr: [4235] found 1 video device
n 18 22:28:17 arvdr vdr: [4235] initializing plugin: xine (0.9.3): Software based playback using xine Jun 18 22:28:17 arvdr vdr: [4241] XineRemote control thread started (pid=4235, tid=4241) Jun 18 22:28:17 arvdr vdr: [4241] Entering cXineRemote thread Jun 18 22:28:17 arvdr vdr: [4235] initializing plugin: weatherng (0.0.10): Weather.com: Weather forecast Jun 18 22:28:17 arvdr vdr: [4235] weatherng: Parameter '-D' not set. Set default value : /etc/vdr/plugins/weatherng Jun 18 22:28:17 arvdr vdr: [4235] weatherng: Parameter '-I' not set. Set default value : /etc/vdr/plugins/weatherng Jun 18 22:28:17 arvdr vdr: [4235] weatherng: Parameter '-C' not set. Set default value : /etc/vdr/plugins/weatherng Jun 18 22:28:17 arvdr vdr: [4235] weatherng: Parameter '-S' not set. Set default value : /etc/vdr/plugins/weatherng Jun 18 22:28:17 arvdr vdr: [4235] weatherng: Load themefile '/etc/vdr/plugins/weatherng/themes/current.colors' Jun 18 22:28:17 arvdr vdr: [4235] weatherng: WARNING: no themefile found ! Using default colors Jun 18 22:28:17 arvdr vdr: [4235] DEBUG : weatherng: defined HAVE_MAGICK Jun 18 22:28:17 arvdr vdr: [4235] DEBUG : weatherng: use LowQuality Jun 18 22:28:17 arvdr vdr: [4235] setting primary device to 2 Jun 18 22:28:17 arvdr vdr: [4235] assuming manual start of VDR Jun 18 22:28:17 arvdr vdr: [4235] SVDRP listening on port 2001 Jun 18 22:28:17 arvdr vdr: [4235] setting current skin to "sttng" Jun 18 22:28:17 arvdr vdr: [4235] loading /etc/vdr/themes/sttng-default.theme Jun 18 22:28:17 arvdr vdr: [4235] starting plugin: xine Jun 18 22:28:17 arvdr vdr: [4235] starting plugin: weatherng Jun 18 22:28:17 arvdr vdr: [4235] plugin 'weatherng' called obsolete function RegisterI18n() Jun 18 22:28:17 arvdr lircd-0.8.3[2417]: accepted new client on /dev/lircd Jun 18 22:28:17 arvdr vdr: [4244] LIRC remote control thread started (pid=4235, tid=4244) Jun 18 22:28:17 arvdr vdr: [4245] KBD remote control thread started (pid=4235, tid=4245) Jun 18 22:28:17 arvdr vdr: [4235] ERROR: remote control XineRemote not ready! Jun 18 22:28:17 arvdr vdr: [4235] remote control LIRC - keys known Jun 18 22:28:17 arvdr vdr: [4235] remote control KBD - keys known Jun 18 22:28:17 arvdr vdr: [4235] switching to channel 187 Jun 18 22:28:17 arvdr vdr: [4247] receiver on device 1 thread started (pid=4235, tid=4247) Jun 18 22:28:17 arvdr vdr: [4248] TS buffer on device 1 thread started (pid=4235, tid=4248) Jun 18 22:28:17 arvdr vdr: [4235] OSD size changed to 720x576 @ 1.06667 Jun 18 22:28:26 arvdr vdr: [4239] frontend 0 timed out while tuning to channel 187, tp 112175 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: Part: 0 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: Parse /etc/vdr/plugins/weatherng/data1.xml ! Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: day: 1 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: unit 1: C Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: unit 2: km/h Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: dnam: Hamburg, Germany Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: N/A Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: 14 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: 17 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: 17 Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: 21 Jun 18 22:28:46 arvdr last message repeated 2 times Jun 18 22:28:46 arvdr vdr: [4235] DEBUG : weatherng: hi Wert: 23