NASM 无法打开包含文件 asm_io.inc。 NASM不是自带的吗?
NASM unable to open include file asm_io.inc. Doesn't it come with NASM?
我无法在 Ubuntu.
中包含文件 'asm_io.inc'
我试过以下方法:
%include 'asm_io.inc'
并发出以下命令:
sudo nasm -f coff simple.asm
错误:
simple.asm:1: fatal: unable to open include file `asm_io.inc'
在 google 上搜索后,我尝试了以下变体:
include 'asm_io.inc'
%include "~//includes//asm_io.inc"
我什至在根目录中搜索文件 asm_io.inc,但它没有出现。
但如果我不在其他 NASM 代码中包含文件 asm_io.inc,则 assmebler 工作正常。
我的问题:
我做错了什么?
我猜您正在使用 Paul Carters 教程的一些代码。如果是这种情况,您需要从 http://pacman128.github.io/pcasm/
下载 asm_io.inc
我无法在 Ubuntu.
中包含文件 'asm_io.inc'我试过以下方法:
%include 'asm_io.inc'
并发出以下命令:
sudo nasm -f coff simple.asm
错误:
simple.asm:1: fatal: unable to open include file `asm_io.inc'
在 google 上搜索后,我尝试了以下变体:
include 'asm_io.inc'
%include "~//includes//asm_io.inc"
我什至在根目录中搜索文件 asm_io.inc,但它没有出现。
但如果我不在其他 NASM 代码中包含文件 asm_io.inc,则 assmebler 工作正常。
我的问题:
我做错了什么?
我猜您正在使用 Paul Carters 教程的一些代码。如果是这种情况,您需要从 http://pacman128.github.io/pcasm/
下载 asm_io.inc