[mythtv-users] MythVideo v0.16 doesn't compile

Mike Isely isely at isely.net
Fri Dec 3 19:56:46 UTC 2004


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
                        |                             |


More information about the mythtv-users mailing list