[solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
[solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT
Ubuntu 10.04, 1.9.5 compiled from source by
Game exits immediately just after installing.
cmake . && make
.Game exits immediately just after installing.
seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth ~/.config/wesnoth
seva@ubuntu:~$ wesnoth
Battle for Wesnoth v1.9.5
Started on Sun Apr 3 00:25:33 2011
20110403 00:25:33 error filesystem: Could not open '/home/seva/.config/wesnoth/preferences' for reading.
Data directory: /usr/local/share/wesnoth
User configuration directory: /home/seva/.config/wesnoth
User data directory: /home/seva/.local/share/wesnoth/1.9
Cache directory: /home/seva/.cache/wesnoth
20110403 00:25:33 warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory
Checking video mode: 1024x768x32...
setting mode to 1024x768x32
20110403 00:25:33 error config: Macro/file 'GUI__FONT_COLOUR_ENABLED__DEFAULT' is missing at gui/default/widget/tooltip_default.cfg:41 included from gui/default.cfg:30 included from gui/default/widget/tooltip_default.cfg:57 included from gui/default.cfg:30
Last edited by sv75 on April 3rd, 2011, 11:53 am, edited 1 time in total.
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
same error on win7 64bit.
I've downloaded and put 'Junicode-Regular.ttf' into fonts folder,and still can't open the game.
I've downloaded and put 'Junicode-Regular.ttf' into fonts folder,and still can't open the game.
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
How should Wesnoth be able to read a file you just deleted?sv75 wrote:seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth [b]~/.config/wesnoth[/b]
[...]
20110403 00:25:33 error filesystem: Could not open '[b]/home/seva/.config/wesnoth/preferences[/b]' for reading.
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?
Crend
UMC Story Images — Story images for your campaign!
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
Of course you have to run make afterwards!Crendgrim wrote:How should Wesnoth be able to read a file you just deleted?sv75 wrote:seva@ubuntu:~$ rm -rf ~/.local/share/wesnoth [b]~/.config/wesnoth[/b]
[...]
20110403 00:25:33 error filesystem: Could not open '[b]/home/seva/.config/wesnoth/preferences[/b]' for reading.
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?
The only relevant (and critical) message is the *last* one. The stuff about the font as well as the config dir are irrelevant and normal/expected. The other one really sounds strange. Are you sure that you have not edited your sources data dir? And have you removed your old installation before running "make install"? That is: in the source tarball the term GUI__FONT_COLOUR_ENABLED__DEFAULT is not used, so something is really wrong.
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
I have deleted preferences just to be sure bug is still there.Crendgrim wrote:How should Wesnoth be able to read a file you just deleted?sv75 wrote: '/home/seva/.config/wesnoth/preferences' for reading.[/tt]
Wesnoth can run just fine without preferences file, of course.
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
Problem solved: either I forgot to say `make uninstall` in old svn 1.9.x sources or it didt not worked as expected. Removing /usr/local/share/wesnoth and then reinstalling helps.ivanovic wrote:And have you removed your old installation before running "make install"?
Sorry for inconvenience.
Last edited by sv75 on April 3rd, 2011, 12:04 pm, edited 1 time in total.
Re: 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAULT fatal e
Good to know, thanks.ivanovic wrote:Of course you have to run make afterwards!Crendgrim wrote: How should Wesnoth be able to read a file you just deleted?
Besides, I'm not sure whether you really need to run "make" after running "cmake" - isn't "make" only part of the not-anymore-supported Autotools?
Now it's obvious why cmake never worked for me...
Crend
UMC Story Images — Story images for your campaign!
Re: [solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAUL
i also see that
but the game loads ok. is the font an optional component and where should it go?warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory
Re: [solved] 1.9.5, ubuntu: GUI__FONT_COLOUR_ENABLED__DEFAUL
It's optional if you don't want to play in Old English (in the fuþorc). If you really want to suppress that warning, put it in Wesnoth's "fonts" directory.tr0ll wrote:i also see thatbut the game loads ok. is the font an optional component and where should it go?warning font: Failed opening font file 'Junicode-Regular.ttf': No such file or directory