Hacker News new | ask | show | jobs
by jonahx 4876 days ago
Very cool. Has anyone gotten this working on Windows?
2 comments

I haven't tried, but I've done everything possible to keep both the code and the build system cross-platform. I've written OSS cross-platform C++ code using Boost before (with CMake as the build system) and had it working on Windows, Mac, Linux and FreeBSD without modification. I've applied the same principles here, just haven't tested it on Windows or written docs on how to get it working there. But it's doable, certainly.
I'm having some issues compiling it on windows at the moment, specifically when compiling BoostParts. Saying "::hypot has not been declared". I'll update if I get it to compile
Removing

    #define hypot _hypot
from pyconfig.h (in my python include folder) got me to another hurdle

    function 'PyObject* boost::python::converter::do_return_to_python(char)' definition is marked dllimport
I have no idea what that means (never touched C++ in my life)
Letting this rest for now, I'd like to hear if others have any success