virt viewer 3.0 交叉编译

来源:互联网 发布:Mac 不能共享文件夹 编辑:程序博客网 时间:2024/05/18 21:47
1.系统准备:
fedora 24
mingw64: yum install mingw64-*  --skip-broken
spice-gtk:https://spice-space.org/download/gtk/spice-gtk-0.32.tar.bz2
revit-view:https://fedorahosted.org/released/virt-viewer/virt-viewer-3.0.tar.gz

2.编译spice-gtk
//不使用USB重定向
mingw64-configure --without-sasl --with-gtk=3.0 --with-audio=gstreamer --without-Python  --enable-smartcard=no
//使用USB重定向
mingw64-configure --without-sasl --with-gtk=3.0 --with-audio=gstreamer --without-Python --enable-usbredir=yes --enable-smartcard=no

mingw64-make
mingw64-make install

编译spice-gtk在make时显示Generated_client_demarshallers.c Erro1的解决办法:yum install pyparsing

3.编译revit-view
yum install icoutils

mingw64-configure  --with-gtk=3.0 --with-spice-gtk
mingw64-make
mingw64-make install

4.生成后的二进制在以下路径中
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/

5.注意事项:
使用virt-viewer安装包进行安装,将编译好的*.exe文件覆盖安装包下的同名文件,
运行时会提示一些库不存在或不匹配,则直接在交叉编译环境上find,再去覆盖后运行。

0 0
原创粉丝点击