Can I install external library when releasing App through Corona?

Hi,

Sorry if the title was unclear; I had to make it as concise as possible.

To make myself more clear, I am thinking of releasing an app through Corona SDK, but have downloaded an external library (BitOp) to help me with the AI part of my program.

My question is, will this prevent me from, or cause any problems successfully releasing me app through Corona?

Sorry if this sounds like a noob question.

Many thanks in advance! :slight_smile:

KC

You don’t actually “release through corona”.

You build your app using the Corona SDK, then build and release for a target platform OS: iOS, Android, OS X, or Win 32.

In your question, it sounds like you want to use an external Lua-compatible library?  If the library is PURE lua, then you’re good to go, but if it is something that gets compiled and ‘linked’ into Lua, then you’re out of luck. 

The particular library you’re talking about is the latter: http://bitop.luajit.org/

Lua BitOp is a C extension module for Lua 5.1/5.2 which adds  bitwise operations  on numbers.

There is already a bit library available however as a Corona-ready plugin:

https://docs.coronalabs.com/daily/plugin/bit/index.html

Sigh…

On further reading, these are one and the same.  However, you must user the plugin version supplied by Corona not link to an arbitrary file you download.

Thank you for your quick reply, roaminggamer :slight_smile:

That answers my question. I will make sure to use the plugin version supplied by Corona in my app!

Thanks again!

Perhaps you should mark his response as Best Answer, rather than your own :stuck_out_tongue:

You don’t actually “release through corona”.

You build your app using the Corona SDK, then build and release for a target platform OS: iOS, Android, OS X, or Win 32.

In your question, it sounds like you want to use an external Lua-compatible library?  If the library is PURE lua, then you’re good to go, but if it is something that gets compiled and ‘linked’ into Lua, then you’re out of luck. 

The particular library you’re talking about is the latter: http://bitop.luajit.org/

Lua BitOp is a C extension module for Lua 5.1/5.2 which adds  bitwise operations  on numbers.

There is already a bit library available however as a Corona-ready plugin:

https://docs.coronalabs.com/daily/plugin/bit/index.html

Sigh…

On further reading, these are one and the same.  However, you must user the plugin version supplied by Corona not link to an arbitrary file you download.

Thank you for your quick reply, roaminggamer :slight_smile:

That answers my question. I will make sure to use the plugin version supplied by Corona in my app!

Thanks again!

Perhaps you should mark his response as Best Answer, rather than your own :stuck_out_tongue: