Not Launching in Ubuntu 11.10

  • dubld00ce
    16th Feb 2012 Member 0 Permalink
    I just switched over to Ubuntu from Windows, and I'm having trouble getting TPT to launch. I downloaded the latest stable release (71.3), unzipped it, made sure it was allowed to execute as a program, and tried to launch it.

    Nothing happened at all. No error messages, no new windows popped up, nothing.

    Any help would be appreciated.
  • CAC-Boomerang
    16th Feb 2012 Member 0 Permalink
    Are you using a download specifically for Ubuntu/Linux? If you downloaded the Windows one, I doubt it would open, such in this case.
  • dubld00ce
    16th Feb 2012 Member 0 Permalink
    I used what it defaulted to on my machine (Linux). Looking through the list of OS's, though, it looks like there's a specific package for Ubuntu, but it's out of date.

    Perhaps the problem is that it's a 32 bit linux binary, and I'm running 64 bit?
  • GreekGuy
    16th Feb 2012 Member 0 Permalink
    I have Ubuntu 11.10 and it worked for me. (32 bit)
  • jacksonmj
    16th Feb 2012 Developer 0 Permalink
    Install 32 bit libraries: http://packages.ubuntu.com/oneiric/ia32-libs

    If it still doesn't work after doing that: what happens if you try running it from the command line?
  • CAC-Boomerang
    16th Feb 2012 Member 0 Permalink
    Post deleted
  • dubld00ce
    16th Feb 2012 Member 0 Permalink
    I think I'll just try compiling it... I need to learn how to compile and package things, anyway.
    Thanks, though!

    EDIT:
    Well, that failed miserably. Apparently, even though I followed the instructions to a tee, Git hates me.
    Oh, well!
    *downloads 32 bit libraries*

    EDIT 2:
    Didn't work either... :C
    Also tried from the console:
    error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64
  • jacksonmj
    16th Feb 2012 Developer 0 Permalink
    Running (I haven't got a 64 bit computer to test on at the moment, so this is just guessing at what's wrong)
    Check that /usr/lib32/libSDL-1.2.so.0 exists. If it does, then run
    sudo ldconfig
    and try Powder Toy again.

    Compiling
    Wiki: https://powdertoy.co.uk/Wiki/W/Building_in_linux.html
    Unless you want to modify the game and put your changes on github, you can skip the github setup steps and just run
    git clone git://github.com/FacialTurd/The-Powder-Toy.git
    cd The-Powder-Toy


    To compile, after installing the packages listed on the wiki (also install libfftw3-dev - the wiki needs updating):
    make powder-64-sse3


    Also, IRC: [23:26:52] <dubld00ce> Would this be the right place to ask for help building TPT in Ubuntu?
    Yes, or you can ask on the forum. On IRC, people are frequently away or not paying attention, so you might not get a sensible response immediately.