VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jun 19 2006 - 14:46:57 CDT
- Next message: John Stone: "Re: the python library error in VMD when do IED"
- Previous message: John Stone: "Re: VMD crashed due to: vmd_LINUXAMD64: indirect_vertex_array.c:659: emit_DrawArrays_old: Assertion `elements_per_request >= count' failed"
- In reply to: angel : "Compiling problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Angel,
You should be compiling the plugin like this:
g++ main.c graspplugin.C -I../../include -o gp
or
c++ main.c graspplugin.C -I../../include -o gp
The fact that you're missing the -I directive makes me wonder if
you're using an out-of-date molfile_plugin.h file.
The compilation commands should complete with no errors, and no warnings:
johns_at_dallas{53} c++ main.c graspplugin.C -I../../include -o gp
johns_at_dallas{54}
John Stone
vmd_at_ks.uiuc.edu
On Mon, Jun 19, 2006 at 12:23:04PM -0700, angel jiménez wrote:
> Sorry but I still have the same problem.
> Compiling with the new main.c:
> gcc main.c graspplugin.C -o gp
>
> main.c: In function `main':
> main.c:89: error: too many arguments to function
> graspplugin.C:264: error: invalid conversion from `const char*' to `int'
> graspplugin.C:264: error: invalid conversion from `int' to `const char*'
> graspplugin.C:264: error: cannot convert `const char*' to `void*(*)(const char*, const char*, int*)' in initialization
>
> Is the problem in the pugin or in main?
>
>
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Sports Fantasy Football ’06 - Go with the leader. Start your league today!
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: the python library error in VMD when do IED"
- Previous message: John Stone: "Re: VMD crashed due to: vmd_LINUXAMD64: indirect_vertex_array.c:659: emit_DrawArrays_old: Assertion `elements_per_request >= count' failed"
- In reply to: angel : "Compiling problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]