简体   繁体   English

Mac OSX。Lua框架没有此类文件或目录

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

I have Cocoa project which uses Lua.framework. 我有使用Lua.framework的可可项目。

In the header file I try to include some .h files from this framework: 在头文件中,我尝试包含此框架中的一些.h文件:

...
#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? 为什么会发生?

我通过重建Lua框架解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM