From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Apr 03 2017 - 10:16:14 CDT

What are the major and minor version numbers you have set in your
VASP plugin code? The current version in the recent VMD 1.9.3 release
was set as follows, so your version number would have to be greater than
this one:

..

int VMDPLUGIN_init(void) {
  memset(&plugin, 0, sizeof(molfile_plugin_t));
  plugin.abiversion = vmdplugin_ABIVERSION;
  plugin.type = MOLFILE_PLUGIN_TYPE;
  plugin.name = "CHGCAR";
  plugin.prettyname = "VASP_CHGCAR";
  plugin.author = "Sung Sakong";
  plugin.majorv = 0;
  plugin.minorv = 7;
..

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu
 

On Mon, Apr 03, 2017 at 05:11:43PM +0200, H. Lee wrote:
> Dear John Stone:
> Thank you very much for your reply.
> Yes, I want to modify one of molfile plugins, vaspchgcarplugin.c.
> I have already modified, compiled, and copy it, as mentioned in this
> source code as follows:
>
> * MACOSX
> 00023 * c++ -O2 -Wall -I. -I$VMDBASEDIR/plugins/include -c vaspchgcarplugin.c
> 00024 * c++ -bundle -o vaspchgcarplugin.so vaspchgcarplugin.o
> 00025 *
> 00026 * Install
> 00027 * copy vaspchgcarplugin.so $VMDBASEDIR/plugins/$ARCH/molfile
>
> However, this change has not been reflected in VMD.
> It would be much appreciated if you could give me more assistance.
> Sincerely,
> H. Lee
> On Mon, Apr 3, 2017 at 4:47 PM, John Stone <[1]johns_at_ks.uiuc.edu> wrote:
>
> What plugin(s) are you trying to modify? If you're talking about
> compiled molfile plugins, you must ensure that you have updated the
> major/minor version numbers of the plugin if you want to have your
> plugin supercede one of the plugins that's already included with VMD.
> If you tell us more specifically what you're doing we can give more
> assistance.
>
> Cheers,
> John Stone
> [2]vmd_at_ks.uiuc.edu
> On Sat, Apr 01, 2017 at 03:28:11PM +0200, H. Lee wrote:
> > Dear developers:
> > I am using VMD in MACOS X in the form of the pre-complied binary
> from the
> > VMD website (dmg file).
> > I want to modify some plugin included in VMD, but I fail to do
> it; even if
> > I modify, compile and link dynamically, it is not reflected in
> VMD.
> > I think that the pre-compiled binary in MAC includes the static
> library
> > for plugins.
> > How can I use the modified plugins in MACOS X?
> > Sincerely,
> > Hyungjun Lee
>
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> [3]http://www.ks.uiuc.edu/~johns/ Phone: [4]217-244-3349
> [5]http://www.ks.uiuc.edu/Research/vmd/
>
> References
>
> Visible links
> 1. mailto:johns_at_ks.uiuc.edu
> 2. mailto:vmd_at_ks.uiuc.edu
> 3. http://www.ks.uiuc.edu/~johns/
> 4. file:///tmp/tel:217-244-3349
> 5. http://www.ks.uiuc.edu/Research/vmd/

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/