Problems compiling... again

  • minecraft-physics
    6th Nov 2014 Member 0 Permalink
    So, since the almighty overlords over at Apple HQ decided it'd be a greeeeeeat idea to completely rewrite xcode

    again


    The compiler is throwing errors like they're logs at a caber tossing competition.
    Here's the error list:

    File "/Users/[name withheld]/Desktop/The-Powder-Toy/SConstruct", line 3:
    execfile("generator.py")
    File "generator.py", line 226:
    generateElements(os.listdir("src/simulation/elements"), "generated/ElementClasses.cpp", "generated/ElementClasses.h")
    File "generator.py", line 131:
    os.makedirs(outputPath)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157:
    mkdir(name, mode)
    Computer-des-[name withheld]:The-Powder-Toy [name withheld]$ scons --nofft
    scons: Reading SConscript files ...
    OSError: [Errno 13] Permission denied: 'generated':
    File "/Users/[name withheld]/Desktop/The-Powder-Toy/SConstruct", line 3:
    execfile("generator.py")
    File "generator.py", line 226:
    generateElements(os.listdir("src/simulation/elements"), "generated/ElementClasses.cpp", "generated/ElementClasses.h")
    File "generator.py", line 131:
    os.makedirs(outputPath)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157:
    mkdir(name, mode)

    EDIT: lol I forgot to add sudo... could someone lock this please?
    Edited 3 times by minecraft-physics. Last: 6th Nov 2014
  • jacob1
    6th Nov 2014 Developer 0 Permalink
    Why do you need to use sudo to compile TPT >_>. Do you not have permission to modify the generated/ folder? You should try and get that ...
  • minecraft-physics
    6th Nov 2014 Member 0 Permalink
    It's my computer, and I'm the only user... Probably a mac thing
Locked by jacob1: lock requested