我正在使用Code :: Blocks 8.02,我有一个问题..每次我尝试编译minimad.c(Libmad附带的示例)我收到一条错误消息:
sys/mman.h: No such file or directory 当然还有一堆错误:(
我已经知道它的内存管理库...问题是:我在哪里可以下载<sys/mman.h>?或者如果有另一个编译器支持更多库,那么Code :: Blocks 8.02?
PS我已经将mad.h链接到编译器并进行了测试,所以我知道那里没有问题...
Code :: Blocks不是编译器,而是IDE.并且<sys/mman.h>是一个Unix标头,在Windows上不可用.
This is probably too late for the original poster but if anyone needs mman.h for Windows, I've found this: http://code.google.com/p/mman-win32/
You should just be able to open it in VS (I've only done it in VS2010) and build it and then you should get what you want.
| 归档时间: |
|
| 查看次数: |
31965 次 |
| 最近记录: |