Compiling problems...

  • Nobody905
    2nd Sep 2013 Member 0 Permalink

    @mniip (View Post)

     I want to make plastic, TPT really needs plastic. I only need to make it meltable (Into MPLA), but I have no idea how to do this in Lua (Which I prefer over c++ because I don't have to compile at all instead of compiling a new TPT for every update).

  • Dingolo
    22nd Sep 2013 Member 0 Permalink
    @Nobody905 (View Post)
    Btw, must you 'pay' in order to get Visual Studio?
  • jacob1
    22nd Sep 2013 Developer 0 Permalink
    No, the express edition is free. Any other versions you have to pay for though. Also the 2012 express edition apparently is missing an important option needed to create the project ...
  • MiningMarsh
    22nd Sep 2013 Member 0 Permalink

    @Nobody905 (View Post)

    The compiling is not really an issue, modifying one file and compiling shouldn't take more than a second or two. It's about as bad as having to start TPT to test things every time, that is, not really an issue at all.

     

    @jacob1 (View Post)

     Hmm, so I wonder how viable it is to get MSVC from the express edition, then using that with eclipse or some other IDE one might prefer? I haven't messed with it too much, do you happen to know if there is any sort of lockin of MSVC to visual studio?

  • greymatter
    22nd Sep 2013 Member 0 Permalink
    @MiningMarsh (View Post)
    Modifying one element and compiling takes not more than a few seconds. But adding a new element modifies the headers, which then takes a looooooong time to compile. But nevertheless I prefer C++ over lua anyday :)
    @Nobody905 (View Post)
    Actually, I got a massive bunch of errors (Or were they warnings?) when I first compiled TPT. Then I just went into the build folders and found the .exe for my mod there...
    Anyway, if the project does not get built, then follow the following steps:
    1)Rebuild, post the errors here, and see if anyone can figure out what's wrong.
    2)Set up a new project, following the steps from the wiki EXACTLY, and compiling an unmodified source before you get to adding elements.
    3)Uninstall and reinstall VC++. Might be something wrong with the program itself.

    If none of these work, then I have no idea.
  • FeynmanLogomaker
    22nd Sep 2013 Member 0 Permalink

    If you're just trying to modify elements, Lua would be much easier than compiling, there's tons of stuff on it in the wiki...

  • Dingolo
    23rd Sep 2013 Member 0 Permalink

    Nice I've got express for free c:
    Edited once by Dingolo. Last: 23rd Sep 2013
  • xetalim
    23rd Sep 2013 Member 0 Permalink
    I can easily compile using scons on windows 7.
    @mniip installed it for me.
    Works great.
  • Nobody905
    24th Sep 2013 Member 0 Permalink

    @Dingolo (View Post)

     I have Visual Studio Professional, but...

    Nope.

     

    Why pay for it when you have cracks all over the internet?

     

    Anyway, I've decided to make this in Lua, for the huge benefit of not having to compile every time TPT is updated.

    From this comes: How do I define multiple properties in Lua? They just don't work... And how do I define an update/graphics function?