Hi Am Donnerstag, 2. Juni 2005 17.11 schrieb Michael Gerdau: > I have a problem compiling the current CVS version. It seems as if > lirccommander.moc.cpp is the culprit.
The problem can always (?) be solved by re-running scons -c # unessential (for me), removes any .moc. files, scons configure # Checking for int lirc_init() in C library lirc_client... no I don't know how and when it occurs, there are some more detailed explanations in the thread "RG and gcc 4.0" from 2005-05-23 at http://sourceforge.net/mailarchive/forum.php?thread_id=7339434&forum_id=271 > If moc can't be coaxed into creating such guards then possibly > compiling lirccommander.moc.cpp/lirccommander.cpp could be removed > depending on wether HAVE_LIRC is defined. That's what rosegarden/gui/Sconscript:147 is supposed to do: if myenv.has_key('LIRC_SOURCES'): rgSources += lircSources The key is set by rosegarden/scons_admin/kde.py:419 if haveLirc: env.Append(LIRC_SOURCES = 1) env.Append(OPTLIB_CCFLAGS = '-DHAVE_LIRC') env.AppendUnique(OPTLIB_LDFLAGS = '-llirc_client') Regards Toni ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
