Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075929 Posts in 44152 Topics- by 36119 Members - Latest Member: Royalhandstudios

December 29, 2014, 04:03:05 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Luabind with Xcode 5
Pages: [1]
Print
Author Topic: Luabind with Xcode 5  (Read 725 times)
Gregg Williams
Level 10
*****


Retromite code daemon


View Profile WWW Email
« on: October 13, 2013, 06:54:34 PM »

Just wondering if anyone has had success with this particular combination?

I spent all day today trying to get it to work using a forked version of luabind that is suppose to support lua 5.2, but even when I manage to get everything to build, luabind crashes out at luabind:open. I'm pretty much at a dead end with it at this point, but figured a forum post might have a random chance of offering some insight.

For the complete record I'm using Boost 1.54, Lua 5.2.2, and everything is getting compiled with clang/LLVM 5.0 as x86 architecture.
Logged

eclectocrat
Level 5
*****


Most of your personality is unconscious.


View Profile
« Reply #1 on: October 15, 2013, 11:35:51 AM »

I don't mean to be snarky, but you might want to try and learn the lua C api, I have a tutorial here in the forums.

I know that's the last thing you want to hear, and if you've already got lots of code written then you should try and fix the problem, but if you are starting a new codebase then consider dropping down to the core C api. It is a learn once, use anywhere there is Lua - solution, and it will virtually always outperform wrappers. Plus, it is not nearly as complicated as it initially appears.

Pertaining to your specific issue, if you post the debug info, including a stack trace and relevant code, then I will do my best to help you diagnose the problem.

Good luck!
Logged

I make Mysterious Castle, a Tactics-Roguelike
Gregg Williams
Level 10
*****


Retromite code daemon


View Profile WWW Email
« Reply #2 on: October 15, 2013, 01:06:16 PM »

Thanks Ecletocrat, I actually a did just that yesterday.ithink its probably a good thing anyways, as it will really just result in me keeping bindings simple and minimal.
Logged

eclectocrat
Level 5
*****


Most of your personality is unconscious.


View Profile
« Reply #3 on: October 15, 2013, 01:13:40 PM »

Found the tutorial I wrote a while back, it will hopefully give you a leg up.

http://forums.tigsource.com/index.php?topic=22524.msg835882#msg835882

G'luck!
Logged

I make Mysterious Castle, a Tactics-Roguelike
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic