开发者

How to include lua scripting language into C++ XCode?

I have successfully compiled lua in my mac. It works. It runs. Now, I want to mix it with C++ in XC开发者_运维知识库ode. So I looked up in the Linked Library, the usual place to add more libraries in XCode. But of course, lua isn't there. Now, how do I tell XCode the existence of lua so that the program can include lua.h correctly?


Up to you :

  • use the "Header Search Path" and "Library Search Paths" in the properties to add the location of Lua headers and liblua.a
  • OR just copy the Lua headers and liblua.a in your project directory, then add them to your project


https://github.com/breinhart/Lua-In-Xcode

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜