[Kst] Re: branches/work/kst/portto4/kst

Nicolas Brisset nicolas.brisset at free.fr
Sat Jan 8 23:43:48 CET 2011


Hi Peter,

I am having problems building kst right now. Using qmake under Creator, I get the following error:
linking ../../build/bin/kst2
/home/nicolas/Code/kst/src/kst/../../build/lib/libkst2math.so: undefined reference to `typeinfo for Kst::NextColor'
/home/nicolas/Code/kst/src/kst/../../build/lib/libkst2lib.so: undefined reference to `Kst::NextColor::self()'
/home/nicolas/Code/kst/src/kst/../../build/lib/libkst2math.so: undefined reference to `Kst::NextColor::NextColor()'
/home/nicolas/Code/kst/src/kst/../../build/lib/libkst2math.so: undefined reference to `Kst::NextColor::~NextColor()'
collect2: ld returned 1 exit status
make[1]: *** [../../build/bin/kst2] Erreur 1
make[1]: quittant le répertoire « /home/nicolas/Code/kst/src/kst »
make: *** [sub-src-kst-make_default-ordered] Erreur 2
make: quittant le répertoire « /home/nicolas/Code/kst »
Terminé avec le code de sortie 2.

Since I don't know exactly when I'm supposed to switch to cmake, I tried it as well. But I also have an issue. With the following command (launched manually, but from Creator it does the same):
"cmake ../../kst/cmake/ -Dkst_merge_files=ON"
I get:
nicolas at linux-cwbq:~/Code/kst_cmake/manual_build> make
...
[ 13%] Built target kstcore
[ 24%] Built target kstmath
[ 24%] Building CXX object src/widgets/CMakeFiles/kstwidgets.dir/merged_const.cpp.o
/home/nicolas/Code/kst_cmake/manual_build/src/widgets/merged_const.cpp:33:61: fatal error: /home/nicolas/Code/kst/src/widgets/qrc_images.cpp: Aucun fichier ou dossier de ce type
compilation terminated.
make[2]: *** [src/widgets/CMakeFiles/kstwidgets.dir/merged_const.cpp.o] Erreur 1
make[1]: *** [src/widgets/CMakeFiles/kstwidgets.dir/all] Erreur 2
make: *** [all] Erreur 2

Do you have any idea why? It looks like it is not generating the qrc_images.cpp from the Qt resource system correctly.

BTW, this merged file option looks pretty cool :-) The speed difference is very noticeable.

Thanks,

Nicolas
----- "Peter Kümmel" <syntheticpp at gmx.net> a écrit :

> SVN commit 1212913 by kuemmel:
> 
> update INSTALL file
> 
>  M  +8 -4      INSTALL  
> 
> 
> --- branches/work/kst/portto4/kst/INSTALL #1212912:1212913
> @@ -89,9 +89,14 @@
>  	Options could be passed by the -D prefix when running cmake.
>  	Available options will be listed on each cmake run:
>  
> -	-- kst_merge_files          = OFF     : Merge files to speedup
> build
> +	-- kst_release              = OFF    : Build release version
> +	-- kst_merge_files          = OFF    : Merge files to speedup build
> about factor 5
>  	-- kst_merge_rebuild        = OFF     : Rebuild generated files from
> merged files build
> +	-- kst_verbose              = OFF    : Make verbose CMake run and
> Makefiles
> +	-- kst_install_prefix       = OFF    : Install path for Kst, using a
> default if not set
> +	-- kst_3rdparty             = OFF    : Build plugins depending on
> 3rd party libraries
>  	
> +	
>  	To enable a option pass the value ON or 1, eg
>  		cmake ../kst/cmake -Dkst_merge_files=1
>  
> @@ -108,12 +113,10 @@
>  	qmake until all issues are solved.
>  	
>  	TODOs:
> -	- add install rules
> +	- install on Mac
>  	- add package rules
>  	- add svn revision number extraction
> -	- add support for all 3rd party libraries used by the plugins
>  	- add support for pre-compiled headers
> -	- add configure checkes so config.h is generated
>  	- only the kst binary is generated
>  	- build and run tests
>  	- have a look at kst1's cmake files, especially the 3rd party lib
> code
> @@ -124,3 +127,4 @@
>  
>  
>  
> +
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list