You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Native C Extensions for Blender Python with MSVC 2013

2

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

  1. 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.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.