我的長期目標是讓 Doom(版本 1.1)在混合硬件(1 個在 DOS 7.10 下的 Pentium 3 和 2 個在 Raspbian 下的 Raspberry Pi)上以3 屏幕模式運行。我有運行 LNE100TX 的 DOS(如果有幫助的話我可以分享配置文件)。我在Raspbian下啟動DOSBox的配置文件中啟用了IPX。[ipx]# ipx: Enable ipx over UDP/IP emulation.ipx=truepi@raspberrypi:~$ dosboxDOSBox version 0.74Copyright 2002-2010 DOSBox Team, published under GNU GPL.---CONFIG:Loading primary settings from config file /home/pi/.dosbox/dosbox-0.74.confMIXER:No Sound Mode Selected.ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)MIDI:Opened device:none我啟動了 ipx 服務器并在 DOSBox 中安裝了驅動器Z:\>ipxnet startserver 19900IPX Tunneling utility for DosBoxIPX Tunneling Server startedZ:\>mount c ~/dos-gamesDrive C is mounted as local directory /home/pi/dos-games/我在 Github 上找到了ipxbox,上面寫著:ipxbox 是一個用 Go 編寫的獨立 DOSBox IPX 服務器。DOSBox客戶端可以連接到服務器并一起玩。一個獨特的功能是,它可以選擇以類似于 VPN 的方式橋接到真實的物理網絡。DOSBox 客戶端可以在服務器上相互通信,但啟用此功能后,它們還可以與連接網絡上的物理 IPX 節點進行通信。因此,模擬 DOS 客戶端應該能夠與連接到同一網絡的真實 DOS 機器玩游戲。所以,我安裝了 Go:pi@raspberrypi:~ $ sudo apt-get install libpcap-devpi@raspberrypi:~ $ export GOPATH=/home/pi/workpi@raspberrypi:~ $ export PATH=$PATH:$GOPATH/binpi@raspberrypi:~ $ sudo apt-get install golang然后我嘗試安裝 ipxbox:pi@raspberrypi:~ $ go get github.com/fragglet/ipxboxpi@raspberrypi:~ $ cd workpi@raspberrypi:~ $ go build ipxbox.go這是我運行此命令時收到的消息:#github.com/google/gopacket/pcapgo/src/github.com/google/gopacket/pcap/pcap_unix.go:34:18: fatal error: pcap.h: No such file or directory#include <pcap.h>compilation terminated.也許這是顯而易見的,但我對 Linux 不是很熟悉。有人對造成這種情況的原因有任何建議嗎?
- 1 回答
- 0 關注
- 278 瀏覽
添加回答
舉報
0/150
提交
取消