SWIG python wrapper compile error with std:vector<int>
This post has NOT been accepted by the mailing list yet.
I am attempting to setup a SWIG interface for my C++ code for python. I wanted to start simple and build up, so I I started with just including the templates for std::vector int and string. I was able to use this same code to get a C# wrapper to work, so I am pretty sure the syntax is correct. SWIG generates the C++ wrapper, but when I try and compile it I get compile errors. The generated SWIG code is trying to use a variable that was never instantiated (bold in the code below). Anyone have any ideas on what I am doing wrong here, or if there is a bug in SWIG? I am using SWIG 3.0 on a windows 64 bit machine running the following command >swig -c++ -python StdUtils_python.i.