Comments (2)
The particulars are outside the scope of this project, and there are probably far more complete resources available elsewhere, but you can package up a Lua application into a folder, yes.
I believe you'll need to include:
- the Lua interpreter (and libraries if it needs them)
- the luasdl libraries (with correct folder structure to make imports work)
- your code (same note re: fodler structure)
- the SDL libraries
- any other libraries you might use
- a launch script to set the right search paths.
If on Linux or OSX, read up on LD_LIBRARY_PATH and ldd. On any system, read up on how Lua searches for modules.
from luasdl2.
Hum, ok. So the idea is the package all the libraries and lua requirement in one folder. Thanks for the information :)
from luasdl2.
Related Issues (20)
- Web export? HOT 2
- SDL.hint not defined
- `SDL.mouseMask.Right` and `SDL.mouseMask.Middle` are the same HOT 1
- No `semver.org` file HOT 1
- SDL HitTests will make window invalid. HOT 1
- Integers in Lua 5.3 HOT 1
- channel first/last method results in deadlock HOT 2
- Compile error with Lua5.2 HOT 2
- SDL.joyHat lack SDL_HAT_CENTERED HOT 1
- Question. Using Release without Luarocks HOT 2
- trouble after install with luarocks HOT 2
- Add windows/powershell install instructions HOT 3
- Compiling on OSX Bug Sur (Intel) HOT 4
- getPerformanceCounter and getPerformanceFrequency should return a wider type
- Linux building luasdl2 complains none compatible version detected 5.4 HOT 7
- Missing functions? HOT 6
- Channel:pop() is leaking memory HOT 1
- Provide LSP-friendly documentation file
- texture:update
- Could NOT find SDL2 (missing: image mixer net ttf)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luasdl2.