Compiling Error Feynman's Mod For Mac

  • Mdkar
    20th Jan 2016 Member 1 Permalink

    This is what I got while trying to compile Feynman's Mod for Mac (after doing scons and realizing I had to install LuaJit and then installing it properly):

     

    scons: done building targets.

    error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /powder64-x (No such file or directory)

     

    I tried opening the powder64-x file again manually, but it would just do this:

     

     /Users/Mihir/Desktop/FeynmanPowder-master/powder64-x ; exit;

     

    Also, when or if I do get it compiled, how should I share it with Feynman (Logo Maker).

     

  • wolfy1339
    20th Jan 2016 Member 0 Permalink

    You can just message him.

    Aren't there already mac executables?

  • Mdkar
    20th Jan 2016 Member 0 Permalink

    None that work that I know of.  The 2 or 3 versions that claimed to be for mac that I could find are non-functional and don't work at all.

    Edited 2 times by temporaryaccount. Last: 20th Jan 2016
  • jacob1
    21st Jan 2016 Developer 0 Permalink
    I'm the one that helped Feynman set up mac compiling, but back when I helped him my cross compiling setup was sort of broken, so probably his official mac versions never worked.

    Anyway, I don't see an errors here. "scons: done building targets." usually means scons succeeded. Try copying the entire output, from beginning to end, and pasting it here: http://pastebin.com/ (or at least get as much off the beginning and end as you can). The line you posted isn't enough to figure out what the problem is.

    Are you sure powder64-x doesn't work? (also might need to be renamed to powder-x later but it shouldn't matter).
  • FeynmanLogomaker
    21st Jan 2016 Member 0 Permalink
    You get it set up, send me a message, I'd love to have a working Mac version in distribution
  • Mdkar
    22nd Jun 2016 Member 0 Permalink

    Sorry about not responding. A lot was going on. I think i know what the problem is, but i don't know the solution.

     

    The full output: http://pastebin.com/igdEh6c6

     

    Possible problem: According to the last couple lines, "can't open file: /powder64-x (No such file or directory)" there is no file called powder64-x at the root folder (Macintosh HD). To fix this, I think I would have to either move powder64-x to Macintosh HD (which I don't really want to do) or fix the thing insisting that there is a powder64-x at "/". I honestly have no idea. This mod looks fun and I really want to use it too. Btw, I just got a Tab 4 and Powdertoy works great on it (pls see my reply on its thread). Thanks.

  • jacob2
    22nd Jun 2016 Member 0 Permalink
    @temporaryaccount (View Post)
    It looks like it compiled perfectly fine. Maybe scons has some issue or there is s bug in the sconscript at the end, but as long as you have a powder64-x it should be fine.

    The executable is just going to be a lot larger. You could run 'clean' on it to shrink it. That is the part that failed.
  • Mdkar
    23rd Jun 2016 Member 0 Permalink

    Ok, so I tried replacing the powder-x file in the vanilla app (bundle) with the powder64-x (after renameing it to powder-x). I opened the app and it just did nothing. I force quit it and tried again, replacing the recources folder with the one given in the mod source, but it did the same thing. There are a lot of other files in the source that I have no idea what to do with as well.

    Edited once by temporaryaccount. Last: 23rd Jun 2016
  • jacob1
    23rd Jun 2016 Developer 0 Permalink
    @temporaryaccount (View Post)
    Oh ... well maybe it didn't work for some reason. The only file you need to replace is that powder-x (after renaming powder64-x to powder-x). That is supposed to work, if it doesn't i'm not sure why. Maybe i'll have to try running scons directly on a mac sometime. Although if only his mod has this problem then maybe it really just is his mod causing the issues.