From: Wolfgang M. <wol...@gm...> - 2008-07-13 20:46:44
Attachments:
wolfgang_morawetz.vcf
|
Hi, i have trouble to compile lemonlauncher: checking for main in -lSDL_image... yes checking for main in -lSDL_gfx... yes checking for main in -lSDL_ttf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' Making all in src make[2]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' make all-am make[3]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -march=i686 -mtune=generic -O2 -pipe -MT lemonmenu.o -MD -MP -MF ".deps/lemonmenu.Tpo" -c -o lemonmenu.o lemonmenu.cpp; \ then mv -f ".deps/lemonmenu.Tpo" ".deps/lemonmenu.Po"; else rm -f ".deps/lemonmenu.Tpo"; exit 1; fi lemonmenu.cpp: In member function 'void ll::lemon_menu::load_menus()': lemonmenu.cpp:75: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:75: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:75: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:75: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:81: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:81: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp:86: warning: deprecated conversion from string constant to 'char*' lemonmenu.cpp: In member function 'void ll::lemon_menu::handle_activate()': lemonmenu.cpp:302: error: must #include <typeinfo> before using typeid lemonmenu.cpp:302: error: must #include <typeinfo> before using typeid lemonmenu.cpp:304: error: must #include <typeinfo> before using typeid lemonmenu.cpp:304: error: must #include <typeinfo> before using typeid make[3]: *** [lemonmenu.o] Error 1 make[3]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' make: *** [all] Error 2 Thank you. |
From: Josh K. <jo...@sl...> - 2008-07-14 01:36:58
|
Try adding: #include <typeinfo> to the list of includes in lemonmenu.cpp On Sun, 13 Jul 2008 23:36:52 +0200 Wolfgang Morawetz <wol...@gm...> wrote: > Hi, > i have trouble to compile lemonlauncher: > > checking for main in -lSDL_image... yes > checking for main in -lSDL_gfx... yes > checking for main in -lSDL_ttf... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > make all-recursive > make[1]: Entering directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' > Making all in src > make[2]: Entering directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make all-am > make[3]: Entering directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -march=i686 > -mtune=generic -O2 -pipe -MT lemonmenu.o -MD -MP -MF > ".deps/lemonmenu.Tpo" -c -o lemonmenu.o lemonmenu.cpp; \ > then mv -f ".deps/lemonmenu.Tpo" ".deps/lemonmenu.Po"; else rm -f > ".deps/lemonmenu.Tpo"; exit 1; fi > lemonmenu.cpp: In member function 'void ll::lemon_menu::load_menus()': > lemonmenu.cpp:75: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:75: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:75: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:75: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:81: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:81: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp:86: warning: deprecated conversion from string constant to > 'char*' > lemonmenu.cpp: In member function 'void ll::lemon_menu::handle_activate()': > lemonmenu.cpp:302: error: must #include <typeinfo> before using typeid > lemonmenu.cpp:302: error: must #include <typeinfo> before using typeid > lemonmenu.cpp:304: error: must #include <typeinfo> before using typeid > lemonmenu.cpp:304: error: must #include <typeinfo> before using typeid > make[3]: *** [lemonmenu.o] Error 1 > make[3]: Leaving directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' > make: *** [all] Error 2 > > Thank you. > -- Josh Kropf <jo...@sl...> |