开发者

Mac OS X. No such file or directory for Lua framework

I have Cocoa project which uses Lua.framework.

In the header file I try to include some .h files from this framework:

开发者_开发问答
...
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
...

And when I compile the source file I get this error:

error: lua.h: No such file or directory
error: lauxlib.h: No such file or directory
error: lualib.h: No such file or directory

Why does it happen?


I fixed this issue by rebuilding the Lua framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜