hjweide / pyastar2d

A very simple A* implementation in C++ callable from Python for pathfinding on a two-dimensional grid.
MIT License
150 stars 57 forks source link

Build instructions for windows #3

Closed MrAngry777 closed 6 years ago

MrAngry777 commented 6 years ago

Would be possible to provide a make file for windows in CMAKE? Or to provide instructions on how to make a build?

hjweide commented 6 years ago

@MrAngry777 I just realized that I misunderstood your question. These instructions explain how to compile to a DLL for Windows. This highly-upvoted answer on StackOverflow shows how to write the Python wrapper to link to the DLL.

I don't have a Windows machine to try this, but feel free to take a shot at it. A pull request is also welcome :)

hjweide commented 6 years ago

Closing. Please let me know if you're still stuck.