Cyens Toy

  • LBPHacker
    24th Feb 2020 Developer 0 Permalink
    You do have some sort of Lua installed on your system, but I'm not sure it's 5.1 (it's apparently not new enough to have luaL_register). Can you compile vanilla TPT? Most likely not.
  • i3ima
    24th Feb 2020 Member 0 Permalink

    @LBPHacker (View Post)

     Lua 5.2.4...

  • LBPHacker
    24th Feb 2020 Developer 0 Permalink
    That doesn't answer my question though.
  • i3ima
    24th Feb 2020 Member 0 Permalink

    @LBPHacker (View Post)

     Yes, i can't compile vanilla TPT.

    Edited once by i3ima. Last: 24th Feb 2020
  • LBPHacker
    24th Feb 2020 Developer 0 Permalink
    Well then this issue is not related to this mod. Anyway, try to figure out what Lua headers your compiler pulls in, they're probably not 5.2 ones.
  • i3ima
    24th Feb 2020 Member 0 Permalink

    @LBPHacker (View Post)

     From compilation log -
    Checking for C library lua5.1... (cached) no
    Checking for C library lua-5.1... (cached) no
    Checking for C library lua51... (cached) no

  • LBPHacker
    24th Feb 2020 Developer 0 Permalink
    Yes, believe it or not, I've actually gathered that from one of your previous posts. This once again doesn't answer my question.
  • i3ima
    24th Feb 2020 Member 0 Permalink

    I lied, the compilation wasn't complete. I tried to compile vanilla TPT, everything went without errors, at the end I saw "scons: done building".
    So, yeah, the problem with the modification

    Edited 2 times by i3ima. Last: 24th Feb 2020
  • jacob1
    24th Feb 2020 Developer 0 Permalink
    @i3ima (View Post)
    That means it succeeded. You'll find the compiled game in the build/ folder.
    (If it failed, you'll need to post the real error)

    Also, to compile with Lua 5.2, you need to give the --lua52 flag
  • i3ima
    24th Feb 2020 Member 0 Permalink

    @jacob1 (View Post)

     Here's a link to the error - https://bpaste.net/ONKQ

    UPD : successfully compiled with the --lua52 flag.

    Edited once by i3ima. Last: 24th Feb 2020