Author Topic: SGDK2 Projects in Linux  (Read 15523 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
SGDK2 Projects in Linux
« on: 2009-04-04, 10:01:43 AM »
Full/automatic Linux support for projects created by SGDK2 is close.  I converted durnurd's Tetris game pretty easily.

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: SGDK2 Projects in Linux
« Reply #1 on: 2009-04-04, 05:03:46 PM »
Wow. That's impressive. I should install linux again, hopefully this time I can get the wi-fi going so I can have internet. ;O

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #2 on: 2009-04-13, 08:52:14 AM »
I released beta 1 of SGDK 2.1.1 and a new SGDKLinux211 package.  Without describing it in detail, I'd like to find out if the current arrangement is clear enough that someone can figure it out without help from me.  Wanna give it a try?

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: SGDK2 Projects in Linux
« Reply #3 on: 2009-04-13, 09:09:58 AM »
Definitely need to put some news on the main page about that.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #4 on: 2009-04-13, 11:33:16 AM »
I was thinking about waiting until it was out of beta, or at least until someone could verify that it works in at least one case :).  I suppose I could announce the beta, though.

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: SGDK2 Projects in Linux
« Reply #5 on: 2009-04-13, 06:58:51 PM »
When you say in the documentation about the linux files being in a separate package, you should perhaps link to them. Someone is bound to get very frustrated if they can't find them.

I don't have a linux installation to test this under at the moment, but the instructions seemed easy to follow so I'd imagine I did it right.  8)
I've uploaded it here so someone with a working linux installation can test it.  ;)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #6 on: 2009-04-14, 05:03:44 AM »
How hard was it for you to find the extra Linux package?  Hopefully if I put links to both on the download page, they will be easy enough to find.  I'm hesitant to put direct links like that in the documentation because then they might get out of date.  But I could maybe at least link to the downloads page.

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: SGDK2 Projects in Linux
« Reply #7 on: 2009-04-14, 05:21:40 AM »
It was easy because I am familiar with the system. But anyone who just downloaded the program and hasn't been here as long as I have may have troubles.
I think you should at least link to the downloads page and indicate the linux package is on that page.

Did the linux version I uploaded work? Because if it runs under linux I wouldn't mind releasing it.
« Last Edit: 2009-04-14, 05:25:50 AM by Jam0864 »

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #8 on: 2009-04-14, 05:17:00 PM »
I added a link on the download page, and added a link from the help file to the download page.

I haven't booted into Linux lately so I haven't tried the Linux version of the project.

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: SGDK2 Projects in Linux
« Reply #9 on: 2009-04-14, 05:46:18 PM »
Well, I tried running the Tetris project, and it threw a DLLNotFoundException looking for libfmod-4-whatever.  I confirmed that it was in fact in that directory, named correctly, and I tried getting rid of the ./ in the tetris.exe.config, but it still had that error.  No idea what's going on there.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #10 on: 2009-04-15, 04:41:56 AM »
The "./" needs to be there or it may not search the current directory where libfmodex-4.22.01.so is.  Did you try loading the generated project into MonoDevelop?  Are tetris.exe.config and libfmodex-4.22.01.so all lowercase?

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: SGDK2 Projects in Linux
« Reply #11 on: 2009-04-15, 07:32:06 AM »
I couldn't load the generated project into MonoDevelop (it was having errors trying to create the MDP file), so I added all the files to a new project, and after a few quirks, got back to the same point.  Couldn't find the same file, after making sure they're all in the same directory.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #12 on: 2009-04-15, 05:36:16 PM »
OK, I know you made projects run in Linux before (you showed me how).  What's the difference between what you made work and this?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #13 on: 2009-04-22, 05:10:33 AM »
Has anybody else tried Linux?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SGDK2 Projects in Linux
« Reply #14 on: 2009-04-26, 07:49:45 AM »
I don't have a linux installation to test this under at the moment, but the instructions seemed easy to follow so I'd imagine I did it right.  8)
I've uploaded it here so someone with a working linux installation can test it.  ;)

I finally booted into Ubuntu Linux and tried this.  I am unable to extract the contents of the ZIP file.