Learn how to create a python module in C with Microsoft Visual Studio 2013.
Michel Anders (varkenvarken) writes:
Creating a native C extension for use in a Blender Python addon on Windows 64bit platforms proved to be not as easy as I had thought. For those who might want to try it out for themselves with Visual Studio 2013, I documented my findings in some detail in this article:
A sample solution (.sln) is provided on GitHub as well.
Hope this saves some people some frustration :-)
2 Comments
That was very informative. My only suggestion would be to use SWIG to create the python-C/C++ interface. It greatly simplifies the process, and is well documented.
Thanks, always good to see some development clearly explained.