How to connect an external library base at compilation?

how to connect an external library base at compilation?

External libraries are used in several projects and are not in the project folder. How at compilation not to copy them to the project folder?

In the simulator, you can specify any path on the computer, but libraries cannot be found on the device.

I don’t think that this is possible. You need to include the files you want to use inside the project folder.

If you need to manage the same file in different projects from a single location, you could look into Git submodules.

Corona offer’s two modes to work:

  1. The simulator. It does all the work for you. From the simulator you can build your app for your destination app or store. In this mode, you can only use the API’s that Corona provides or any plugins from the Marketplace. You cannot link to external third-party libraries.

  2. Corona Native builds. These allow you to use Xcode, Android Studio (or Visual Studio for Windows desktop) to build your Corona app. We include a Lua->C Bridge interface so you can write native code and call it from Lua. It’s probably easier to still use our plugin interface to simply this. In this case you can use third-party external libraries.

Most Corona users are happy with simulator builds. Using native builds is a bit more advanced. 

Rob

I don’t think that this is possible. You need to include the files you want to use inside the project folder.

If you need to manage the same file in different projects from a single location, you could look into Git submodules.

Corona offer’s two modes to work:

  1. The simulator. It does all the work for you. From the simulator you can build your app for your destination app or store. In this mode, you can only use the API’s that Corona provides or any plugins from the Marketplace. You cannot link to external third-party libraries.

  2. Corona Native builds. These allow you to use Xcode, Android Studio (or Visual Studio for Windows desktop) to build your Corona app. We include a Lua->C Bridge interface so you can write native code and call it from Lua. It’s probably easier to still use our plugin interface to simply this. In this case you can use third-party external libraries.

Most Corona users are happy with simulator builds. Using native builds is a bit more advanced. 

Rob