尝试安装时出现错误消息3DxWare在 Ubuntu 上:
/etc/3DxWare/daemon/3dxsrv: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
尝试在 Ubuntu 上执行立方体演示时出现错误消息:
./xcube
stderr, basicwin: cannot open 9x15 font
答案1
3DxWare for Linux (x86_64) - V 1.8.0 安装说明
要将 Ubuntu 的 3DxWare 文件安装到相应的目录并运行驱动程序,您需要 root 权限。
确保您满足以下先决条件:
You should have installed the X/Motif shared library. Where is included the libXm.so.3
sudo apt-get install libmotif-dev
In some cases some X11 fonts may not have been installed, which are used to
draw on the device LCD.
Please make sure you have installed the 75 and/or 100DPI fonts for X11.
apt install xfonts-75dpi
apt install xfonts-100dpi
驱动程序的文件由以下存档提供:
3dxware-linux-v1-8-0.x86_64.tar.gz
请将文件 3dxware-linux-v1-8-0.x86_64.tar.gz 直接复制到 /tmp 目录,然后解压并运行脚本 install-3dxunix.sh:
tar xfz 3dxware-linux-v1-8-0.x86_64.tar.gz install-3dxunix.sh
./install-3dxunix.sh
请确保在启动应用程序之前驱动程序已启动。
对于 USB 设备,使用以下命令启动驱动程序:
/etc/3DxWare/daemon/3dxsrv -d usb
我不喜欢后台进程,所以我更喜欢在需要时运行驱动程序。我在桌面上创建了一个快捷方式
[Desktop Entry]
Name=3DxWare
Exec=sudo /etc/3DxWare/daemon/3dxsrv -userName ${USER} -d usb
Terminal=true
Type=Application
Icon=/<your_custom_folder>/icon.png
Name[en_US]=3DxWare
演示:
After unpacking 3dxware-linux-v1-8-0.x86_64.tar you can find two demos:
The cube demo: /tmp/xcube and
a value demo: /tmp/xvalue
Those are two simple demos that work with the setting "Any Application". You may copy the
binaries to your favourite location for binaries.
支持的设备:
- SpaceMouse Pro 无线
- SpaceMouse 无线
- SpaceMouse Pro
- 太空飞行员专业版
- 太空飞行员
- 太空探索者 (串行,USB)
- 笔记本的 Space Navigator
- 太空航行者
答案2
支持列表中没有提到 Space Mouse Compact,所以我从来没有尝试过官方软件,但是桌面图标是 spacemouse compact。那么它是否支持它?