Re: [Tuxpaint-devel] Build problem on win32
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2011-12-07 07:49:27
|
Hi, El dc 07 de 12 de 2011 a les 13:32 +0900, en/na TOYAMA Shin-ichi va escriure: > Hi! > > I confirmed onscreen keyboard works well on latest version of > fedora (fedora 16). :) > Folloings are compiler warnings for building onscreen_keyboard.c > in each environment. > > # WIN32 > ...Compiling on screen keyboard support... > src/onscreen_keyboard.c: In function 'load_keysymdefs': > src/onscreen_keyboard.c:733:5: warning: unknown conversion type character 'm' in format > src/onscreen_keyboard.c:733:5: warning: format '%x' expects type 'unsigned int *', but argument 3 has type 'char **' > src/onscreen_keyboard.c:733:5: warning: too many arguments for format You could try with sscanf(line, "#define XK_%as %x /* U+%x", this works too on linux. If it still doesn't work, then you should malloc() layout->keysymdefs[i].mnemo and call sscanf as sscanf(line, "#define XK_%s %x /* U+%x", > src/onscreen_keyboard.c: At top level: > src/onscreen_keyboard.c:742:15: warning: 'keysym2mnemo' defined but not used > > #CentOS5 > ...Compiling on screen keyboard support... > src/onscreen_keyboard.c:734: warning: 'keysym2mnemo' defined but not used > src/onscreen_keyboard.c: In function 'osk_clicked': > src/onscreen_keyboard.c:1492: warning: 'aux_name' may be used uninitialized in this function > > #Fedora16 > ...Compiling on screen keyboard support... > src/onscreen_keyboard.c:733:15: warning: 'keysym2mnemo' defined but not used > > > > TOYAMA Shin-ichi wrote in <4edeccd6.4240%sh...@wm...> > > > >I tested onscreen keyboard by adding --onscreen-keyboard option. > >But it crashes just after clicking almost any keys on the OSK. > > > >It was the first time for me to test the OSK, so I tested it on Linux (CentOS 5). > >It also crashed with segmentation fault. > > > >What can I do next to figure out what the problem is? > |