Coder Social home page Coder Social logo

coronalabs / submodule-platform-linux Goto Github PK

View Code? Open in Web Editor NEW
6.0 13.0 3.0 113.32 MB

Linux platform implementation. This is submodule of Corona repository.

Lua 0.32% Shell 0.18% C++ 28.36% Makefile 0.59% C 70.54%
corona coronasdk gamedev

submodule-platform-linux's Introduction

How To Build For Native Linux

If you have not done it already you will need to clone the git repository

cd ~
git clone --recursive https://github.com/coronalabs/corona.git 

Run the provided script to install required dependencies.

cd ~/corona/platform/linux
sudo sh ./setup_dev.sh  

For those who like IDE's the source has been setup for use with CodeLite it can be installed using.

sudo apt-get install codelite -y

If you have installed CodeLite the workspace file is named "Solar2D.workspace" and is located at ~/corona/platform/linux

To build everything run. This will build linux simulator and template and install Solar2D in /usr/local/bin

mkdir build
cd build
cmake ..
make -j8
sudo make install

You would also need Raspbian binaries to build cross-compiled template for Raspbian Pi. You can download them here.

submodule-platform-linux's People

Contributors

bakeinflash avatar jkirkwood avatar pouwelsjochem avatar rcraig12 avatar shchvova avatar tverd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

submodule-platform-linux's Issues

The Corona Simulator

cd corona/plateform/linux/CoronaSimulator
./install-dependencies.sh
./start.sh

When I try to build a Linux App with the Simulator I get the following:Linux builder started
Failed to create app folder: /home/larpoux/Documents/Corona Built Apps/Corona

I tried to create /home/larpoux/Documents/Corona Built Apps
but it was not better
then I tried to create /home/larpoux/Documents/Corona Built Apps/Corona
but always the same error
then I tried to specify another directory but the Corona Simulator seems to ignore the parameter specified

build_template.sh on a Macintosh

On a Macintosh:

$ cd corona/platform/linux
$ ./build_template.sh

Gives the following error:
Status: Downloaded newer image for coronalabs/linux_builder:latest
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /Users/larpoux/RPiBuildTools.
See 'docker run --help'.
$

"build_template_linux" on a Linux Machine

On a Linux Machine:
$ ./build_template_linux.sh 
tmpfs is not used!
Simulator Build started...
==========================
make: rtt_simulator.mk: No such file or directory
make: *** No rule to make target 'rtt_simulator.mk'.  Stop.
$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.