当前位置: 技术问答>linux和unix
Linux下wxGTK安装测试问题
来源: 互联网 发布时间:2016-12-27
本文导语: 我的系统是centos5.6 64位的,安装完成wxGTK-2.8.12后,进行如下测试,出现错误,求高手给指点一下,谢谢! [root@LHL build]# cd /home/wxGTK-2.8.12/samples/minimal [root@LHL minimal]# make /home/wxGTK-2.8.12/bk-deps g++ -c -o minimal_minimal.o...
我的系统是centos5.6 64位的,安装完成wxGTK-2.8.12后,进行如下测试,出现错误,求高手给指点一下,谢谢!
[root@LHL build]# cd /home/wxGTK-2.8.12/samples/minimal
[root@LHL minimal]# make
/home/wxGTK-2.8.12/bk-deps g++ -c -o minimal_minimal.o -D__WXGTK__ -I. -DWXUSINGDLL -I./../../samples -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/wxGTK-2.8.12/lib/wx/include/gtk2-unicode-release-2.8 -I../../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 ./minimal.cpp
g++ -o minimal minimal_minimal.o -L/home/wxGTK-2.8.12/lib -Wl,-rpath,/home/wxGTK-2.8.12/lib -pthread -L/usr/lib64 -lwx_gtk2u-2.8 -lwxregexu-2.8 -pthread -L/usr/lib64 -Wl,--version-script,/home/wxGTK-2.8.12/version-script -lz -ldl -lm -pthread -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lSM -lpng -lz -ljpeg -ltiff -lz -ldl -lm
[root@LHL minimal]# ./minimal
13:18:27: Error: Cannot convert from the charset 'Unknown encoding (-1)'!
|
# ./minimal
检查下minimal这个文件,看看里边是否由encoding这样的语句~
还有centos直接yum install wxgtk不可以么
检查下minimal这个文件,看看里边是否由encoding这样的语句~
还有centos直接yum install wxgtk不可以么