The json formats won't link under MSVC as the templates as the
OBPairTemplates are not exported in the openbabel dll.

Anyone with more C++ fu got any ideas. Adding the following works but
it's really a kludge:
#ifdef _MSC_VER
  template OBAPI class OBPairTemplate<int>;
  template OBAPI class OBPairTemplate<double>;
  template OBAPI class OBPairTemplate<bool>;
#endif

??

Noel

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to