|
|
一、编译nucleo:
下载nucleo:
- cvs -d :pserver:anonymous@cvs.lri.fr:/users/asspro/roussel/cvsroot login
- cvs -z 3 -d :pserver:anonymous@cvs.lri.fr:/users/asspro/roussel/cvsroot co nucleo
- cd nucleo
- ./build-utils/bootstrap
复制代码
然后运行
我这里的输出如下:
Núcleo configuration:
Architecture: i686-pc-linux-gnu
---
glWindow backend? GLX + Xinput glXGetProcAddress
JPEG image support? yes
PNG image support? yes
EXIF support? no (libexif not found by pkg-config)
Freetype2 support? yes
DNS-SD support? yes
expat support? yes
---
FFmpeg plugin? no (libavformat not found by pkg-config)
VNC plugin? no (--with-vnc option not or badly used)
Qt plugin? no (QtCore not found by pkg-config)
---
OpenCV demos? no (opencv not found by pkg-config)
如果你的输出不是这样子,有可能不会成功编译metisse。
请注意以下两点:
1.如果没有启动DNS-SD support,那么你应该安装libavahi-compat-libdnssd-dev,否则随后的metisse不能成功编译:
- apt-get install libavahi-compat-libdnssd-dev
复制代码
2.如果没有使用--with-x,那么在编译metisse时会提示找不到nucleo/gl/*文件而失败。
接着编译,安装:
二、安装metisse:
- cvs -d :pserver:anonymous@cvs.lri.fr:/users/asspro/ihm/metisse-cvs login
- # hit the Return key
- cvs -z 3 -d :pserver:anonymous@cvs.lri.fr:/users/asspro/ihm/metisse-cvs co metisse
- cd metisse
- cvs -z 3 -d :pserver:anonymous@cvs.lri.fr:/users/asspro/ihm/metisse-cvs co fvwm-insitu
- ./bootstrap
- ./configure --enable-glx-x86
- make
- make install
复制代码
如果不能编译,请检查是否加入glx支持。
三、测试:
请以root身份运行以下两条命令:
- Xmetisse -geometry 1024x768 -ac :1
- metisse-start-fvwm -wd :1
复制代码
这时候,应该可以看到metisse已经启动了。
注:nucleo和metisse默认装在/usr/local目录下,如果metisse运行出错,提示找不到库文件libmetisse.so.1,请运行:
或者可以这样启动:
在~/.xinitrc中写入以下内容:
- Xmetisse -ac -depth 24 -geometry 1024x768 :1 >& .Xmetisse-log &
- metisse-start-fvwm >& .compositor-log &
- xterm
复制代码
然后运行startx.
本来想贴图,可总抓不到。 |
|