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

Alexandre BIQUE bique.alexandre at gmail.com
Sat Aug 26 17:07:14 EDT 2006


> > > 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
  
> > Generating settings.cpp
> > cd /home/babali/develop/kuroo-test/src/config 
> > && /usr/kde/3.5/bin/kconfig_compil
> > /home/babali/develop/kuroo-test/src/config/settings.kcfgckcfg
> > kconfig_compiler: ERROR: Unable to load document.
> > , line 1, col 1: unexpected end of file kurooconfig.kcfg
> 
> 
> Did you copy this from the terminal ?
> The suffix looks strange: "settings.kcfgckcfg"
Yes from konsole, and yes the suffix is strange ! :)


Thank you Alex ;)


More information about the CMake mailing list