问题描述
我使用Code :: Blocks 8.02和我有一个问题..每次我尝试编译minimad.c(Libmad附带的示例)我收到一条错误消息:
I am using Code::Blocks 8.02 and I have a question .. every time I try to compile minimad.c (the example that comes with Libmad) I get an error message :
sys / mman.h:没有这样的文件或目录
,当然还有一堆错误:(
sys/mman.h: No such file or directory
and of course a bunch of errors to follow :(
我已经知道它的内存管理库...
问题是:
我在哪里可以下载< sys / mman.h> code>?或者如果有另一个编译器支持更多的库然后Code :: Blocks 8.02?
I already know that its the memory management library ...The question is:Where can I download <sys/mman.h>
? or if there is another compiler that supports more libraries then Code::Blocks 8.02?
PS我已经链接mad.h到编译器和测试因为我知道这里没有问题...
P.S. I already linked mad.h to the compiler and tested out fine so I know there is no problem there ...
推荐答案
Code :: Blocks不是一个编译器, < sys / mman.h>
是Unix标题,在Windows上不可用。
Code::Blocks is not a compiler, it's an IDE. And <sys/mman.h>
is a Unix header and is not available on Windows.
这篇关于“sys / mman.h:没有这样的文件或目录”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!