[CMake] Hi, i am looking for some help to build kuroo with cmake

Alexandre BIQUE bique.alexandre at gmail.com
Sat Aug 26 17:16:19 EDT 2006


On Saturday 26 August 2006 23:07, Alexandre BIQUE wrote:
> > > > Did you use the "--kde3" switch for am2cmake ? (Probably you did).
> > > Yes, i did.
> > > 
> > > > Can you please post some concrete error messages ?
> > > 
> > > Generating options1.cpp
> > > cd /home/babali/develop/kuroo-test/src/config && /usr/bin/cmake \
> > > -DKDE_UIC_FILE:STRING=/home/babali/develop/kuroo-test/src/config/options1.ui
> > > \
> > > -DKDE_UIC_PLUGIN_DIR:PATH=/usr/kde/3.5/lib/kde3/plugins/designer \
> > > -DKDE_UIC_CPP_FILE:STRING=/home/babali/develop/kuroo-test/src/config/options1.cpp\
> > > 
> > > -DKDE_UIC_H_FILE:STRING=/home/babali/develop/kuroo-test/src/config/options1.h\
> > > -P /usr/share/cmake/Modules/kde3uic.cmake
> > > 
> > > => This generate this options1.cpp (which is empty) :
> > > config>cat options1.cpp
> > > #include <kdialog.h>
> > > #include <klocale.h>
> > > 
> > > config>     
> > 
> > Can you check which command automake/unsermake call exactly when generating this file and post it here too ?
> 
> /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -o options1.h /home/babali/develop/kuroo/src/config/options1.ui
> /usr/kde/3.5/bin/kconfig_compiler /home/babali/develop/kuroo/src/config/kurooconfig.kcfg /home/babali/develop/kuroo/src/config/settings.kcfgc; ret=$?; \
> 	if test "$ret" != 0; then rm -f settings.h ; exit $ret ;  fi

i forgot :
/usr/qt/3/bin/moc options1.h -o options1.moc
rm -f options1.cpp
echo '#include <kdialog.h>' > options1.cpp
echo '#include <klocale.h>' >> options1.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -tr tr2i18n -i options1.h /home/babali/develop/kuroo/src/config/options1.ui > options1.cpp.temp ; ret=$?; \
	/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" options1.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_options1,g" >> options1.cpp ;\
	rm -f options1.cpp.temp ;\
	if test "$ret" = 0; then echo '#include "options1.moc"' >> options1.cpp; else rm -f options1.cpp ; exit $ret ; fi

for the complete output http://babali.free.fr/kuroo/out.txt



More information about the CMake mailing list