Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Linux Native Plugin
Started by larpoux Jun 19 2019 10:45 AM

2 replies to this topic
linux native plugin
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

larpoux

[GLOBAL: userInfoPane.html]
larpoux
  • Enthusiast

  • 50 posts
  • Corona SDK

A simple question :

"How can we build a Linux Native Plugin ?"

 

"corona/subrepos/enterprise/contents/Project Template/App" has no templates for Linux.

 

And I did not found any documentation on the subject.



[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 939 posts
  • Corona SDK

The documentation reads:
 

Plugins build upon Lua's module system, so they can come in three different flavors:
 
Pure Lua code
Native code
Hybrid of Lua and native code

Where native points to native C or Java. There's nothing specific about Linux there. Linux builds are also in beta atm.

 

https://docs.coronalabs.com/native/plugin/index.html#coding-plugins



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,205 posts
  • Enterprise

@lapoux, Linux support is pretty-early beta or even Alpha. There are three parts to this.

 

1. Using macOS or Windows to build a Linux version of a Corona app: This is a little further along.  It should be able to link to existing C based plugins (but I'm not 100% sure about that) or Lua plugins.

 

2. Running the Simulator on Linux: Very early/pre-alpha. I don't know if it could even link in plugins or not.

 

3. Building natively on Linux: I don't think we even got started on that we we had to put that on the back burner. Native usually comes last on a new platform.

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: linux, native, plugin