Compiling TPT with SCons

  • i_am_sandwich
    20th May 2017 Member 0 Permalink

    @jacob1 (View Post)

     hi im having a problem after compileing tpt i get a dll error

  • QuanTech
    20th May 2017 Member 0 Permalink

    @i_am_sandwich (View Post)

     Please try to be more specific. Just like @jacob1 told me to do, paste your config.log and scons.py results onto pastebin and give the pastebin links here

  • jacob1
    20th May 2017 Developer 0 Permalink
    @QuanTech (View Post)
    I told him in PM to try --static, I think that should work

    (But please post here instead of that PM, so anyone can help)
  • QuanTech
    2nd Jun 2017 Member 0 Permalink

    bumptato. I'm trying to compile with the --debugging flag, but this happens:

    https://pastebin.com/Nxjf9k9T

  • jacob1
    2nd Jun 2017 Developer 0 Permalink
    @QuanTech (View Post)
    That file exists in here: https://github.com/ThePowderToy/The-Powder-Toy/tree/master/src/graphics

    Maybe try doing scons --clean, I have no idea why something as simple as that would fail
  • QuanTech
    2nd Jun 2017 Member 0 Permalink

    @jacob1 (View Post)

     fixed it. Thanks.

  • QuanTech
    14th Jul 2017 Member 0 Permalink

    So I've installed Ubuntu linux now, and I'm following this

    guide on the wiki, but when I paste the first command into my terminal,

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'liblua5.1-0-dev' for regex 'liblua5.1.0-dev'
    E: Unable to locate package scons

    Also I'm an extreme newbie at linux, so try not to facepalm if I made an obvious error. :P

  • jacob1
    14th Jul 2017 Developer 0 Permalink
    I would suggest using a graphical package manager to search for it. Package names vary by distro.

    synaptic is a nice one. If it's not installed, do sudo apt-get install synaptic

    Then do a search for lua and find one that looks like the lua 5.1 development library (ends in -dev)
    Edited once by jacob1. Last: 14th Jul 2017
  • QuanTech
    14th Jul 2017 Member 0 Permalink

    welp, turns out all I had to do was restart!

  • jacob1
    14th Jul 2017 Developer 0 Permalink
    No, that's completely wrong. You never need to restart Ubuntu to have a package install (well, you would need to reboot for a new kernel to take effect). It must have been something you installed before restarting.