Embedding Julia with Visual C++



I’m new to Julia (but have a run a couple of tutorials), and I’m hoping to simply drop a .lib, and a .dll to my path, and with the headers get it working in Visual Studio, i.e. call the functions I’ve created for a linear optimization scenario. My whole use case revolves around getting it to work with Visual C++ (VS 2013). I don’t have any problem compiling my own from source (hopefully there’s a cmake file somewhere). I see that the embedding page in the docs talk does not talk about .dll or .lib files. Can you please guide a Julia noob on how to achieve this task?


I have just updated my embedding Julia CMake example for Julia 0.6, it seems to generate a working Visual Studio project on Windows.


Have a look at PackageCompiler.jl.