matttuttle / hx-lua Goto Github PK
View Code? Open in Web Editor NEWSimple lua wrapper in a haxe extension
Simple lua wrapper in a haxe extension
I put:
var lua = new Lua();
then I get these errors:
Called from Lua.hx line 103
Called from Lua.hx line 98
Called from C:\SDKs\HaxeToolkit\haxe\std/neko/Lib.hx line 30
Uncaught exception - load.c(357) : Primitive not found : lua@lua_create(1)
I have in my project.xml file.
please help me.
I installed the lib with:
haxelib git lua https://github.com/MattTuttle/hx-lua.git
and then simply compiled the build.hxml then got the error.
C:\HaxeToolkit\haxe\std/haxe/io/Bytes.hx:325: characters 9-17 : You cannot access the lua package while targeting cpp (for lua.Boot)
I get this error when attempting to build cpp or neko targets.
Including any kind of lua.loadLibs() makes the exe to stop working - any solutions to this? (or am I just being dumb?)
Really excited to get this working :)
Otherwise the basic examples work fine!
Hi Matt,
great project. Using it for a game in Haxe for a while now. However I get the above error when calling "lime test android"
In the iPhone folder I see you have a version of liblua-v7, however for Android this version is (still?) liblua.so. I guess you can build this new version also for Android? Not sure exactly how this works, so if you might explain where this version update comes from, that could also help me look in the right direction.
Regards,
Jaap
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.