Closed GoogleCodeExporter closed 8 years ago
I wrote a test.c, got it compiled using
gcc test.c `pkg-config gtk+-2.0 --cflags --libs` -o test -march=core2
-mfpmath=sse
-mfpmath=sse -O3 -static
---
total 572
-rwxr-xr-x 1 alex alex 578077 2010-04-13 21:07 test
-rw-r--r-- 1 alex alex 86 2010-04-13 21:04 test.c
Original comment by cheungtifan
on 13 Apr 2010 at 1:07
Attachments:
./configure --enable-xim
should work for you.
Original comment by mikeandm...@gmail.com
on 13 Apr 2010 at 3:02
cheungtifan,
here is my output while compiling ic_gtk.c
gcc -DHAVE_CONFIG_H -I. -I../..
-DSUNPINYIN_XIM_ICON_DIR=\"/opt/ibus/share/sunpinyin/xim/icon\"
-DSUNPINYIN_XIM_SETTING_DIR=\"/opt/ibus/share/sunpinyin/xim/settings\"
-DSUNPINYIN_DATA_DIR=\"/opt/ibus/lib/sunpinyin/data\" -D_REENTRANT -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-IIMdkit -I../../src -I../../src/ime-core -I../../src/slm -I../../src/lexicon
-I../../src/pinyin -g -O2 -MT xsunpinyin-ic_gtk.o -MD -MP -MF
.deps/xsunpinyin-ic_gtk.Tpo -c -o xsunpinyin-ic_gtk.o `test -f 'ic_gtk.c' ||
echo
'./'`ic_gtk.c
mv -f .deps/xsunpinyin-ic_gtk.Tpo .deps/xsunpinyin-ic_gtk.Po
seems you didn't pass '--enable-xim' when running configure. If it is not the
case,
could you also post your config.log ?
thanks.
Original comment by tchai...@gmail.com
on 13 Apr 2010 at 3:11
问题已经解决!多谢。
Original comment by cheungtifan
on 13 Apr 2010 at 3:31
[deleted comment]
Original comment by tchai...@gmail.com
on 14 Apr 2010 at 2:36
Original issue reported on code.google.com by
cheungtifan
on 13 Apr 2010 at 12:58