News for hackers. Stuff that matters.
Re:Show HN: Kitty – A modern, hackable, featureful, OpenGL b... by toomim on Saturday January 07, 2017 @02:06AM (#13342783)
Here's what I did on mac:

    brew install glew                             # install glew
    git clone https://github.com/glfw/glfw.git    # install glfw
    cd glfw
    cmake -DBUILD_SHARED_LIBS=ON .
    make install
    cd ..
    git clone https://github.com/kovidgoyal/kitty # install kitty
    cd kitty
    # Then delete ", '-l' + lib" on line 78 of setup.py... and run:
    python setup.py install
But I get this error:

    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
Re:Show HN: Kitty – A modern, hackable, featureful, OpenGL b... by aumerle on Saturday January 07, 2017 @02:09AM (#13342798)
It's not going to work out of the box on OS X, but hopefully porting it will not be more than a weekend project. I just need to find a weekend :)

In the meantime, if you, or anyone else wants to help with porting to OS X, please open an issue on github and I will follow up there.

Re:Show HN: Kitty – A modern, hackable, featureful, OpenGL b... by kelnos on Saturday January 07, 2017 @05:40AM (#13343394)
Likely the reason for the error is your removal of that part of line 78 of setup.py. If it's unable to find the libraries it's trying to add, making it not link with them at all isn't the answer; you need to figure out why it can't find them, and fix that.
Re:Show HN: Kitty – A modern, hackable, featureful, OpenGL b... by toomim on Saturday January 07, 2017 @02:39PM (#13346126)
I think that's something else. If we keep that line, it errors with:

    ld: library not found for -lPython.framework/Versions/3.5/Python
The "lib" variable is set to "Python.framework/Versions/3.5/Python".