Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

ZeroMQ (0mq) and Corona SDK Enterprise? (compiled 0mp successfully for IOS)
Started by ssutherland Feb 11 2014 08:29 PM

2 replies to this topic
networking 0mq compiler info
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ssutherland

[GLOBAL: userInfoPane.html]
ssutherland
  • Starter
  • PipPipPipPipPipPip
  • 57 posts
  • Jedi

We are interested in implementing ZeroMQ with Corona SDK for realtime data updates.  0mq has been compiled for IOS:

 

http://def.reyssi.net/blog/2013/01/01/compiling-libzmq-as-a-universal-static-library-for-iOS/

 

http://zeromq.org/build:iphone

 

There is a Lua binding for 0mq:

 

http://zeromq.org/bindings:lua

 

We need to do realtime updates at a rate of at least 5 times per second over the network.  0mq is designed for this sort of thing so we are considering it.

 

According to the few posts we've found, compiling 0mq for IOS is pretty finicky about compilers.  What compiler does Corona SDK use so we can make sure we avoid linker errors?

 

Is there an existing approach already part of the Corona SDK that provides 0mq-like functionality?

 

Thanks,

--Scot

 



[TOPIC: post.html]
#2

ssutherland

[GLOBAL: userInfoPane.html]
ssutherland
  • Starter
  • PipPipPipPipPipPip
  • 57 posts
  • Jedi

I found another set of instructions for compiling zeromq for IOS. 

 

http://paolodenti.blog.com/2012/07/24/zeromq-ios/

 

Going to give it a try.  Still not clear whether the Lua zeromq bindings will work afterwards.  Any thoughts would be appreciated.

 

--Scot

 



[TOPIC: post.html]
#3

ssutherland

[GLOBAL: userInfoPane.html]
ssutherland
  • Starter
  • PipPipPipPipPipPip
  • 57 posts
  • Jedi

Success!  I was able to compile zeromq for IOS.  Will start another topic about binding to Lua and Corona SDK.




[topic_controls]
[/topic_controls]



Also tagged with one or more of these keywords: networking, 0mq, compiler info