Github repo is out-of-date

  • kroq-gar78
    8th Oct 2012 Member 0 Permalink

    Hello,

     

    I've realized that build 232 of TPT was released some days ago at version 83.9, but I don't see that in the Github 'master' branch. I need the new version because I package Powder Toy into Debian packages, and I'd like to provide the most up-to-date ones as possible (note that they're not in the official Debian repos yet - it's just ready for review for inclusion).

     

    Can you guys push your git changes to Github? It will be much appreciated.

     

    Sincerely,

    kroq-gar78

  • cracker64
    8th Oct 2012 Developer 0 Permalink

    The old repo (C version) is no longer in development, the new C++ version is here https://github.com/FacialTurd/PowderToypp

    Also I do notice that build numbers are not shown in this repo, since it can now be set as a compile parameter (I think).

     

    EDIT: The original repo is now the main again.

  • kroq-gar78
    8th Oct 2012 Member 0 Permalink

    Oh, ok. I didn't realize that you guys already switched! Thanks for the information :) I'll get to updating my package soon. How do I compile the new Powder Toy?

  • jenn4
    8th Oct 2012 Member 0 Permalink
    On linux you must also do "sudo apt-get install scons", clone tptpp repo and build with "scons --lin --release --sse3". As far as I remember. I may have forgotten the compile command partially.
  • boxmein
    8th Oct 2012 Former Staff 0 Permalink
    @kroq-gar78 (View Post)
    There's a really fancy new system. On windows it takes tons of configuration to get it to work properly.
    On Linux though, see what jenn4 told you.
    Also, the new compilation process takes 15-30 minutes.
  • jacob1
    8th Oct 2012 Developer 0 Permalink
    @boxmein (View Post)
    Really? I think it depends on your computer, on my old one it took that long (closer to 15), my new one takes less, maybe 5-7 minutes. That's only when you have to recompile everything though. (which will probably happen often). For testing changes, it isn't as long at all for me. And maybe visual studio compiles faster, i'm not sure

    You also need to specify the version, with --save-version X --minor-version Y --build-num Z (I think), because the version number isn't updated anymore with a new version for some reason
  • boxmein
    8th Oct 2012 Former Staff 0 Permalink
    @jacob1 (View Post)
    People on the IRC claim 15-30 minutes, from experience without monitoring it felt like it was close. Somehow, VS2012 also re-compiled everything on every try. I guess it was just me then...
  • jenn4
    8th Oct 2012 Member 0 Permalink
    When I compiled yesterday, it took about 25 minutes, while old TPT compiled in less than 5 minutes.
  • kroq-gar78
    8th Oct 2012 Member 0 Permalink

    Hmm... I get this error when compiling on my 64-bit Ubuntu 12.04 machine:

    build/src/pim/Machine.cpp:427:39: error: cast from ‘unsigned char*’ to ‘int’ loses precision [-fpermissive]
    build/src/pim/Machine.cpp:431:20: error: cast from ‘unsigned char*’ to ‘int’ loses precision [-fpermissive]
    build/src/pim/Machine.cpp:436:20: error: cast from ‘unsigned char*’ to ‘int’ loses precision [-fpermissive]
    build/src/pim/Machine.cpp:440:39: error: cast from ‘unsigned char*’ to ‘int’ loses precision [-fpermissive]

     

    I remember seeing this error somewhere, so I'll see if I can fix it.

     

    UPDATE: Here's the issue on Github: https://github.com/FacialTurd/PowderToypp/issues/194

     

    Looks like adding

    #include <stdint.h>

    into "build/src/simulation/StructProperty.h" fixed it for him.

     

    UPDATE 2: Well, looks like Simon just committed a fix. Thanks! I'll go ahead with repackaging it now. :)

  • NF
    19th Dec 2012 Member 0 Permalink

    Um i think Github is udating it and it's going to take a while!

Locked by cracker64: olddd