Re: [mythtv-users] MythVideo v0.16 doesn't compile
Mike Isely wrote: On Fri, 3 Dec 2004, Ian Collington wrote: Mike Isely wrote: On Fri, 3 Dec 2004, Ian Collington wrote: [snip...] Anyone have any ideas? I get the same problem on normal and root user. Those are all standard ANSI C functions defined in math.h. Is that header somehow not being included? -Mike ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users I'm not a C/C++ person. How can I check? I have GCC v3.4.1 and I'm using Mandrake 10.1 Official. Find where videogallery.cpp exists and try this command from the shell when in its directory: grep math.h videogallery.cpp That should tell you if it's there. But even if it isn't, this still isn't definitive, since videogallery.cpp might include a header which then might include math.h. Or... it might be there, but surrounded by an ifdef that's causing the compiler to skip it... Another possibility (though remote) is that math.h might be there but is missing a 'extern "C"' wrapper since I presume videogallery.cpp is C++ source. But that would be nuts since all ANSI headers should handle C++ correctly. I only just joined this mailing list a few days ago (and wow there is a lot of traffic here!) and have _ZERO_ experience compiling mythtv. I have gobs of other software experience, but I'm probably the wrong person to suggest a deep dive into this particular problem. I only made that comment from the perspective of an experienced C/C++ programmer who recognized those missing functions. Somebody else here can / should probably give a simple explanation for why math.h (apparently) isn't being seen in that file. -Mike Thankyou very much for your help Mike. I could not find any reference to math.h in the cpp or header files. I added #include to the videogallery.cpp file to see what would happen and it worked! Many thanks, Ian ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythVideo v0.16 doesn't compile
On Fri, 3 Dec 2004, Ian Collington wrote: > Mike Isely wrote: > > >On Fri, 3 Dec 2004, Ian Collington wrote: > > [snip...] > >> > >>Anyone have any ideas? > >> > >>I get the same problem on normal and root user. > >> > >> > >> > > > >Those are all standard ANSI C functions defined in math.h. Is that header > >somehow not being included? > > > > -Mike > > > > > > > > > > > > > >___ > >mythtv-users mailing list > >[EMAIL PROTECTED] > >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > > > I'm not a C/C++ person. How can I check? > > I have GCC v3.4.1 and I'm using Mandrake 10.1 Official. Find where videogallery.cpp exists and try this command from the shell when in its directory: grep math.h videogallery.cpp That should tell you if it's there. But even if it isn't, this still isn't definitive, since videogallery.cpp might include a header which then might include math.h. Or... it might be there, but surrounded by an ifdef that's causing the compiler to skip it... Another possibility (though remote) is that math.h might be there but is missing a 'extern "C"' wrapper since I presume videogallery.cpp is C++ source. But that would be nuts since all ANSI headers should handle C++ correctly. I only just joined this mailing list a few days ago (and wow there is a lot of traffic here!) and have _ZERO_ experience compiling mythtv. I have gobs of other software experience, but I'm probably the wrong person to suggest a deep dive into this particular problem. I only made that comment from the perspective of an experienced C/C++ programmer who recognized those missing functions. Somebody else here can / should probably give a simple explanation for why math.h (apparently) isn't being seen in that file. -Mike -- | Mike Isely | PGP fingerprint POSITIVELY NO | | 03 54 43 4D 75 E5 CC 92 UNSOLICITED JUNK MAIL! | isely @ pobox (dot) com | 71 16 01 E2 B5 F5 C1 E8 | | ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythVideo v0.16 doesn't compile
Mike Isely wrote: On Fri, 3 Dec 2004, Ian Collington wrote: Thanks for your reply Craig. I get the following output: g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include -I/usr/local/include/mythtv -I/usr/lib/qt3//include -o videogallery.o videogallery.cpp videogallery.cpp: In member function `virtual void VideoGallery::fetchVideos()': videogallery.cpp:248: error: `ceilf' undeclared (first use this function) videogallery.cpp:248: error: (Each undeclared identifier is reported only once for each function it appears in.) videogallery.cpp: In member function `void VideoGallery::LoadIconWindow()': videogallery.cpp:623: error: `floorf' undeclared (first use this function) videogallery.cpp: In member function `void VideoGallery::positionIcon()': videogallery.cpp:784: error: `floorf' undeclared (first use this function) videogallery.cpp:789: error: `ceilf' undeclared (first use this function) videogallery.cpp: In member function `void VideoGallery::handleDirSelect()': videogallery.cpp:807: error: `ceilf' undeclared (first use this function) make[1]: *** [videogallery.o] Error 1 make[1]: Leaving directory `/home/ian/mythvideo-0.16/mythvideo' make: *** [sub-mythvideo] Error 2 Anyone have any ideas? I get the same problem on normal and root user. Those are all standard ANSI C functions defined in math.h. Is that header somehow not being included? -Mike ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users I'm not a C/C++ person. How can I check? I have GCC v3.4.1 and I'm using Mandrake 10.1 Official. Thanks, Ian ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythVideo v0.16 doesn't compile
On Fri, 3 Dec 2004, Ian Collington wrote: > Thanks for your reply Craig. > > I get the following output: > > g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer > -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED > -I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include > -I/usr/local/include/mythtv -I/usr/lib/qt3//include -o videogallery.o > videogallery.cpp > videogallery.cpp: In member function `virtual void > VideoGallery::fetchVideos()': > videogallery.cpp:248: error: `ceilf' undeclared (first use this function) > videogallery.cpp:248: error: (Each undeclared identifier is reported > only once for each function it appears in.) > videogallery.cpp: In member function `void VideoGallery::LoadIconWindow()': > videogallery.cpp:623: error: `floorf' undeclared (first use this function) > videogallery.cpp: In member function `void VideoGallery::positionIcon()': > videogallery.cpp:784: error: `floorf' undeclared (first use this function) > videogallery.cpp:789: error: `ceilf' undeclared (first use this function) > videogallery.cpp: In member function `void > VideoGallery::handleDirSelect()': > videogallery.cpp:807: error: `ceilf' undeclared (first use this function) > make[1]: *** [videogallery.o] Error 1 > make[1]: Leaving directory `/home/ian/mythvideo-0.16/mythvideo' > make: *** [sub-mythvideo] Error 2 > > Anyone have any ideas? > > I get the same problem on normal and root user. > Those are all standard ANSI C functions defined in math.h. Is that header somehow not being included? -Mike -- | Mike Isely | PGP fingerprint POSITIVELY NO | | 03 54 43 4D 75 E5 CC 92 UNSOLICITED JUNK MAIL! | isely @ pobox (dot) com | 71 16 01 E2 B5 F5 C1 E8 | | ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythVideo v0.16 doesn't compile
Craig Tinson wrote: [EMAIL PROTECTED] wrote: Hi all, I am using the 0.16 release. I also new to MythTv so this is my first post! I downloaded and tried to compile the latest source tar of MythVideo and found that it doesn't compile. I also tried to compile from the CVS source and I also found that didn't compile either. Does anyone know if this is a general problem? If not then I will have to post the relevant output later tonight. All I can remember at the moment was that it was the VideoGallery.cpp file that didn't compile. Has anyone had a similar problem? Thanks, Ian ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users compiled for me a couple of days ago.. post the output you got.. Craig ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users Thanks for your reply Craig. I get the following output: g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include -I/usr/local/include/mythtv -I/usr/lib/qt3//include -o videogallery.o videogallery.cpp videogallery.cpp: In member function `virtual void VideoGallery::fetchVideos()': videogallery.cpp:248: error: `ceilf' undeclared (first use this function) videogallery.cpp:248: error: (Each undeclared identifier is reported only once for each function it appears in.) videogallery.cpp: In member function `void VideoGallery::LoadIconWindow()': videogallery.cpp:623: error: `floorf' undeclared (first use this function) videogallery.cpp: In member function `void VideoGallery::positionIcon()': videogallery.cpp:784: error: `floorf' undeclared (first use this function) videogallery.cpp:789: error: `ceilf' undeclared (first use this function) videogallery.cpp: In member function `void VideoGallery::handleDirSelect()': videogallery.cpp:807: error: `ceilf' undeclared (first use this function) make[1]: *** [videogallery.o] Error 1 make[1]: Leaving directory `/home/ian/mythvideo-0.16/mythvideo' make: *** [sub-mythvideo] Error 2 Anyone have any ideas? I get the same problem on normal and root user. Thanks again, Ian ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythVideo v0.16 doesn't compile
[EMAIL PROTECTED] wrote: Hi all, I am using the 0.16 release. I also new to MythTv so this is my first post! I downloaded and tried to compile the latest source tar of MythVideo and found that it doesn't compile. I also tried to compile from the CVS source and I also found that didn't compile either. Does anyone know if this is a general problem? If not then I will have to post the relevant output later tonight. All I can remember at the moment was that it was the VideoGallery.cpp file that didn't compile. Has anyone had a similar problem? Thanks, Ian ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users compiled for me a couple of days ago.. post the output you got.. Craig ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users