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.
精彩评论