Hannobal / vmdplugins

1 stars 0 forks source link

lammpsdataplugin does not function properly with vmd compiled as shared object #1

Open gadel-me opened 6 years ago

gadel-me commented 6 years ago

When compiling vmd as a shared library (https://github.com/Eigenstate/vmd-python), the lammpsdata plugin does not work properly with CGCMM-styled lammps-data files - the std::bad_array_new_length exception is thrown.

gadel-me commented 6 years ago

Adding the return value 'true' to get_comment solves the issue.

gadel-me commented 5 years ago

Compiling with vmd 1.9.4. does not work. Adding the line #define VMDPLUGIN_STATIC before #include "hash.h" solves the issue.