Jump to content


Photo

How To Compile To Linux (Ubuntu)


  • Please log in to reply
12 replies to this topic

#1 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 25708 posts
  • Version:GM:Studio

Posted 16 June 2015 - 08:37 AM

https://yoyogames.com/tech_blog/122

 

Recently, YoYoGames added the YoYo Compiler to the Linux (Ubuntu) target platform, and so we are going to take this opportunity to explain how to set up this module correctly so that you can easily port your games to Linux. Before going any further however, it is worth noting that due to the many different possible configurations of a Linux system, the GameMaker:Studio Linux module is only aimed at Ubuntu OS version 14.04 LTS to ensure that it works correctly for everyone. As such this tutorial will focus on that operating system.

 

 


  • 4

U1FVsm3.png

40799.png


#2 Lonewolff

Lonewolff

    Permanent Resident

  • GMC Member
  • 3517 posts
  • Version:GM:Studio

Posted 16 June 2015 - 09:43 AM

Nice!

Coincidently, I installed Ubuntu today on a spare laptop for this very purpose.

Very timely :)
  • 0

#3 cookieboy

cookieboy

    Seabass (The Human)

  • GMC Member
  • 747 posts
  • Version:GM:Studio

Posted 16 June 2015 - 06:58 PM

I had to figure this one out on my own (couple months ago). Thank goodness you got around to posting this for everyone!


  • 0

Vnc5NxB.jpg

Support a fellow GMC member? <3

http://store.steampo...com//app/357650


#4 bcruz111

bcruz111

    GMC Member

  • New Member
  • 3 posts
  • Version:GM:Studio

Posted 17 June 2015 - 12:20 AM

i am happy about yoyo compiler for ubuntu, has anyone heard about yoyo compiler for mac osx?


  • 0

#5 GameGoblin

GameGoblin

    GMC Member

  • GMC Member
  • 4325 posts
  • Version:GM:Studio

Posted 17 June 2015 - 06:25 AM

i am happy about yoyo compiler for ubuntu, has anyone heard about yoyo compiler for mac osx?

Coming soon (proof here).

GameGoblin
  • 0

#6 NakedPaulToast

NakedPaulToast

    GM Studio/Mac/Win

  • GMC Member
  • 8808 posts
  • Version:GM:Studio

Posted 17 June 2015 - 07:33 AM

i am happy about yoyo compiler for ubuntu, has anyone heard about yoyo compiler for mac osx?

It's available now in the Early Access version v1.99.420


  • 0

If the Bible truly is inspired by God, you would think that somebody as omnipotent and all-knowing would have known to get his message out using TCP instead of UDP.

 


#7 Parakoopa

Parakoopa

    GMC Member

  • GMC Member
  • 305 posts
  • Version:GM:Studio

Posted 28 June 2015 - 02:57 PM

Nice tutorial, but why on earth this :o :

 

sudo apt-get update

sudo apt-get install openssh-client
sudo apt-get install openssh-server
sudo apt-get install libopenal1
sudo apt-get install libopenal1:i386
sudo apt-get install lib32z1
sudo apt-get install lib32ncurses5
sudo apt-get install lib32bz2-1.0
sudo apt-get install libstdc++6:i386
sudo apt-get install libxxf86vm1
sudo apt-get install libssl1.0.0:i386
sudo apt-get install libglu1:i386
sudo apt-get install libxrandr-dev
sudo apt-get install libxrandr2:i386

 

This could simply be reduced to 

 

sudo apt-get update

sudo apt-get install openssh-client openssh-server libopenal1 lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386 ...

 

Also this won't work correctly for 32bit installations I think because of the lib32s, which should be the default libs on 32bit systems, although I'm not that familiar with ubuntu's 32bit packaging.

 

And when it says

Once you have installed all these, it is also a good idea to call the following:

sudo apt-get update

that should be "upgrade" not "update".



					
					

Edited by Parakoopa, 28 June 2015 - 03:03 PM.

  • 3

verysmall.png

Multiplayer tools for Game Maker


#8 Lukan Spellweaver

Lukan Spellweaver

    Gay Wizard Freak & mcmonkey's plaything

  • GMC Member
  • 3704 posts
  • Version:GM:Studio

Posted 29 June 2015 - 07:37 PM

Shouldn't it be both "update" and then "upgrade"?

One to update the package lists, then one to install/update packages?

 

But since you've just installed these from the repository, they should already BE the latest update. So the "upgrade" is actually unneeded.  


  • 0

DeEuDARh.pngi1SR21Q.png

Find me on Itch.io | GameJolt | YouTube | Twitter | Facebook | Website | Ask.FM

 GMC Google Hangout | I liek monkehs

The GMC, here lies she. Kicked to the curb, with nary a word. She shall live on, though. Remain strong, bros.

Also: MIKE DAILLY TOLD ME TO UPDATE MY SIGNATURE


#9 Parakoopa

Parakoopa

    GMC Member

  • GMC Member
  • 305 posts
  • Version:GM:Studio

Posted 30 June 2015 - 03:25 PM

Shouldn't it be both "update" and then "upgrade"?

One to update the package lists, then one to install/update packages?

 

But since you've just installed these from the repository, they should already BE the latest update. So the "upgrade" is actually unneeded.  

 

He uses update at the beginning of the process. upgrade upgrades all packages, not just the ones that were just installed (it updates all system packages).


  • 0

verysmall.png

Multiplayer tools for Game Maker


#10 Lukan Spellweaver

Lukan Spellweaver

    Gay Wizard Freak & mcmonkey's plaything

  • GMC Member
  • 3704 posts
  • Version:GM:Studio

Posted 30 June 2015 - 04:51 PM

I know, but I don't usually run upgrade every time I install something.

Should I be?


  • 0

DeEuDARh.pngi1SR21Q.png

Find me on Itch.io | GameJolt | YouTube | Twitter | Facebook | Website | Ask.FM

 GMC Google Hangout | I liek monkehs

The GMC, here lies she. Kicked to the curb, with nary a word. She shall live on, though. Remain strong, bros.

Also: MIKE DAILLY TOLD ME TO UPDATE MY SIGNATURE


#11 Parakoopa

Parakoopa

    GMC Member

  • GMC Member
  • 305 posts
  • Version:GM:Studio

Posted 01 July 2015 - 12:39 PM

I know, but I don't usually run upgrade every time I install something.

Should I be?

 

I think in the tech blog it's more about bringing the system up-to-date before testing, to make sure it runs on the most recent "version" of ubuntu 14.04, because if you install ubuntu, you always should do a system update (that's the same with the first updates of Windows if you reinstall it).


  • 0

verysmall.png

Multiplayer tools for Game Maker


#12 Lonewolff

Lonewolff

    Permanent Resident

  • GMC Member
  • 3517 posts
  • Version:GM:Studio

Posted 25 July 2015 - 08:49 AM

Also this won't work correctly for 32bit installations I think because of the lib32s, which should be the default libs on 32bit systems, although I'm not that familiar with ubuntu's 32bit packaging.

 

And when it says

that should be "upgrade" not "update".

 

I am running 32bit Ubuntu and I followed Nocturnes' documentation to the letter and it all worked perfectly. So disregard Parakoopa's advice that says it wont work ;)


  • 0

#13 Parakoopa

Parakoopa

    GMC Member

  • GMC Member
  • 305 posts
  • Version:GM:Studio

Posted 25 July 2015 - 09:01 AM

I was thinking it might fail when explicitly trying to install the 32bit libs (especially 64bit specific packages used for 32bit compatibility like lib32ncurses5). I remembered having problems with that when using Ubuntu myself, but good to know it's working.


  • 0

verysmall.png

Multiplayer tools for Game Maker