How to add Boost library to an Unreal Engine 4 project (visual studio 2013)

I added boost headers to my project as an external plugin and my initial proof of concept seems to be working.

My high level steps were the following:

  • Open one of the Unreal Editor projects => Edit => Plugins => New Plugin. Select Third Party Library Plugin and Create Plugin.
  • Editor the example project CS files as appropriate and replaced the Third Party source files with boost c++
  • Add the plugin as a dependency to your projects CS build file.

I was then able to use boost header only classes in a blueprint function library without error. I haven’t tested out with any of boost non “header only” classes.

I backed up my proof of concept boost plugin and can share if there is a good place to post.