Opened 13 years ago

Closed 13 years ago

#2119 closed defect (invalid)

MythTV-VID branch fails to compile

Reported by: masterclc@… Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I'll just cut and paste from my email to -dev: http://www.gossamer-threads.com/lists/mythtv/dev/216598

Hello, I'm trying to test/troubleshoot an SP13000 (Via CN400 chipset)

using the vid branch. However, I continually get a compile failure with this:

moc_globalsettings.cpp:298: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:298: error: non-member function 'const char* className()' cannot have cv-qualifier moc_globalsettings.cpp:303: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:304: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:307: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:315: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:326: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp:344: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp: In function 'void* qt_cast(const char*)': moc_globalsettings.cpp:347: error: invalid use of 'this' in non-member function moc_globalsettings.cpp:349: error: invalid use of 'this' in non-member function moc_globalsettings.cpp:350: error: cannot call member function 'virtual void* ComboBoxSetting::qt_cast(const char*)' without object moc_globalsettings.cpp: At global scope: moc_globalsettings.cpp:353: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp: In function 'bool qt_invoke(int, QUObject*)': moc_globalsettings.cpp:355: error: cannot call member function 'virtual bool ComboBoxSetting::qt_invoke(int, QUObject*)' without object moc_globalsettings.cpp: At global scope: moc_globalsettings.cpp:358: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp: In function 'bool qt_emit(int, QUObject*)': moc_globalsettings.cpp:360: error: cannot call member function 'virtual bool ComboBoxSetting::qt_emit(int, QUObject*)' without object moc_globalsettings.cpp: At global scope: moc_globalsettings.cpp:364: error: 'PVR350VideoDevice' has not been declared moc_globalsettings.cpp: In function 'bool qt_property(int, int, QVariant*)': moc_globalsettings.cpp:366: error: cannot call member function 'virtual bool ComboBoxSetting::qt_property(int, int, QVariant*)' without object moc_globalsettings.cpp: At global scope: moc_globalsettings.cpp:369: error: 'PVR350VideoDevice' has not been declared make[2]: * [moc_globalsettings.o] Error 1 make[2]: Leaving directory `/tmp/mythtv-vid/programs/mythfrontend' make[1]: * [sub-mythfrontend] Error 2 make[1]: Leaving directory `/tmp/mythtv-vid/programs' make: * [sub-programs] Error 2

I did a google and searched trac, but nobody else reported anything I could find. The odd thing is that I was able to compile this previously, and no updates were made since my last try (I simply did a make distclean and changed my configure options, I'll post those since that is probably the relavant info). My configure info:

./configure --disable-joystick-menu --disable-firewire --disable-dbox2 --disable-v4l --disable-hdhomerun --disable-dts --disable-crciprec --enable-xvmc --enable-xvmc-pro --xvmc-lib=viaXvMCPro --disable-xvmc-opengl

And the resulting list from the configure output:

# Basic Settings Compile type release Compiler cache yes DistCC no Install prefix /usr/local CPU x86 (VIA Nehemiah) Big Endian no MMX enabled yes Vector Builtins yes

# Input Support Joystick menu no lirc support yes Video4Linux sup. no ivtv support no FireWire? support no DVB support no usr/include DBox2 support no HDHomeRun sup. no CRC Ip Rec sup. no

# Sound Output Support OSS support yes ALSA support yes aRts support no JACK support no DTS passthrough no

# Video Output Support x11 support yes xrandr support yes xv support yes XvMC support yes XvMC VLD support yes XvMC pro support yes XvMC OpenGL sup. no XvMC libs -lviaXvMCPro Mac accel. no OpenGL vsync no DirectFB no

# Misc Features Frontend yes Backend yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

libs/libmyth/mythconfig.h is unchanged

I will continue trying variations, but with the speed at which this machine compiles, I was hoping someone had an answer so I don't have to continually recompile...

Thanks!

-Chad

Change History (5)

comment:1 Changed 13 years ago by masterclc@…

I've tried editing the file myself, but being practically in the dark (I wish I understood an ounce of what's in those files) I haven't got a clue. I figured it might be a problem with me not enabling IVTV so I have tried it both ways, nothing changes. I definitely don't have a PVR-350 and am not using it's output.

Any other info, I'll be happy to provide.

-Chad

comment:2 Changed 13 years ago by danielk

Milestone: 0.200.21
Owner: changed from Isaac Richards to danielk
Priority: trivialminor
Severity: highlow

comment:3 Changed 13 years ago by masterclc@…

Resolution: invalid
Status: newclosed

I'll close this, and feel stupid for opening it. I am not sure what the problem was, I removed the source and re-svn'd it, and it compiled; something I obviously should have done before reporting a bug...

My appologies for wasting time and space.

-Chad

comment:4 Changed 13 years ago by general_veers_01@…

Resolution: invalid
Status: closedreopened

I'm actually having the same problem trying to compile. I suspect it may be because I'm using the HG v4l-dvb drivers (I have 2 DVB cards on my system). Same output as above with configure info: ./configure --disable-joystick-menu --disable-firewire --enable-proc-opt --enable-dvb --enable-xvmc --disable-ivtv --disable-dbox2 --disable-xvmcw --enable-opengl-vsync --disable-hdhomerun --disable-audio-arts --dvb-path=/usr/src/linuxtv/v4l-dvb/linux/include --enable-dts --enable-ffmpeg-pthreads

Thanks... John

comment:5 Changed 13 years ago by danielk

Resolution: invalid
Status: reopenedclosed

general veers, whatever problem you are having is not related to this ticket.

Please open a new ticket with the compiler error you are seeing

Note: See TracTickets for help on using tickets.