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

Reply via email to