compile issues on latest source

  • 4e616d65
    24th Nov 2018 Member 0 Permalink
    [Removed]
    Edited 3 times by 4e616d65. Last: 29th Oct 2023
  • jacob2
    24th Nov 2018 Member 0 Permalink
    Add LuaEvents.cpp and LuaEvents.h to the solution
  • jacob1
    24th Nov 2018 Developer 0 Permalink
    Also, when I have time (I don't have any time until Monday, I'm on vacation), I will update the premade project to include those two files. For now, you just need to add those two files yourself.
  • 4e616d65
    24th Nov 2018 Member 0 Permalink
    [Removed]
    Edited once by 4e616d65. Last: 29th Oct 2023
  • jacob1
    24th Nov 2018 Developer 0 Permalink
    I remember replying to this, but I don't see it ... maybe I never actually did

    You also need to add eventcompat.lua.cpp from here: https://github.com/ThePowderToy/The-Powder-Toy/tree/master/src/lua/luascripts (the other files are unnecessary)
  • 4e616d65
    24th Nov 2018 Member 0 Permalink
    [Removed]
    Edited once by 4e616d65. Last: 29th Oct 2023
  • jacob2
    24th Nov 2018 Member 0 Permalink
    I can't remember the exact setting, but you need to add this as an include directory: https://github.com/ThePowderToy/The-Powder-Toy/tree/master/resources

    (To be clear, add resources/)
    Edited once by jacob2. Last: 24th Nov 2018
  • 4e616d65
    24th Nov 2018 Member 0 Permalink
    [Removed]
    Edited once by 4e616d65. Last: 29th Oct 2023
  • jacob2
    25th Nov 2018 Member 0 Permalink
    I don't think I changed anything relating to that. I can't say off the top of my head what files to look at for that (I will be back home tomorrow though)