Re: [OpenBabel-Devel] Templates not exported under MSVC

2013-11-26 Thread Noel O'Boyle
Just found the solution, and good news, no code changes needed on your part. Details are at http://techbase.kde.org/Getting_Started/Build/Windows/Common_problems#DLL-Export_of_templated_functions.2Fclasses I just need to remove OBAPI in generic.h and your code compiles fine. I'll sort this out

Re: [OpenBabel-Devel] Templates not exported under MSVC

2013-11-25 Thread Noel O'Boyle
The problem is the AnnotationData...Actually just leave this with me for a day or two - I want to check if just expanding the template in pubchemjsonformat.cpp solves the problem (template class OBPairTemplatevectorstring;). If not I'll be back to you.. - Noel On 25 November 2013 12:59, Matt