From: Sandeep Gupta (gupta.sandeep_at_gmail.com)
Date: Thu Sep 20 2012 - 23:07:40 CDT

Hi Axel,

 I skimmed the README file but somehow missed the link to doxygen
documentation page. On second read
I found the correct documentation and was able to install it. However, this
installation was minimum and probably
not of much use. Thanks for pointing out the list of softwares.

-Sandeep

On Thu, Sep 20, 2012 at 9:24 AM, Axel Kohlmeyer <akohlmey_at_gmail.com> wrote:

> it looks like you are trying to compile VMD without either Tcl, Tk, FLTK,
> OpenGL or python.
> i am wondering of what use the resulting executable is going to be. my
> guess is that you
> didn't read the installation/compilation instructions thoroughly enough
> and are have created
> a not very useful Makefile.
>
> for the record, i just compiled the current VMD cvs sources on a fedora 17
> machine
> using gcc v 4.7.x with the following options:
> LINUXAMD64 OPENGL FLTK TK ACTC IMD XINERAMA XINPUT LIBTACHYON VRPN TCL
> PYTHON PTHREADS NUMPY
>
> there was not a problem.
>
> cheers,
> axel.
>
> On Wed, Sep 19, 2012 at 7:37 PM, Sandeep Gupta <gupta.sandeep_at_gmail.com>wrote:
>
>> Hi John, Caio,
>>
>> The problem was the same with the g++ as well. I did modify the code.
>> I tried using wrapping the functions within extern C {} clause. But that
>> didn't help.
>> This is the error with unmodified vmd.C with g++
>>
>> g++ -m32 -fno-for-scope -Wno-deprecated -Wall -O3 -DARCH_LINUX
>> -DVMDQUICKSURF -DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS
>> -DVMDPBCSMOOTH -DVMDSTATICPLUGINS -I../plugins/include
>> -I../plugins/LINUX/molfile -I. -c vmd.C -o ../LINUX/vmd.o
>>
>> Compiling vmd.C --> vmd.o ...
>> vmd.C: In function ‘int VMDinitialize(int*, char***)’:
>> vmd.C:283:52: error: ‘vmd_initialize_tcl’ was not declared in this scope
>>
>> vmd.C: In function ‘void VMDshutdown()’:
>> vmd.C:443:20: error: ‘vmd_finalize_tcl’ was not declared in this scope
>>
>>
>>
>> @Caio: Could the errors have to do something with tcl installation?.
>>
>> Thanks.
>> Sandeep
>>
>>
>>
>> On Wed, Sep 19, 2012 at 10:30 AM, Caio Silva Souza <caiobiounb_at_gmail.com>wrote:
>>
>>> Hi,
>>> I don't know if it is helpfull, but I have already compiled VMD with GCC
>>> 4.6 on Ubuntu 12.04 and I didn't get this error.
>>>
>>> Cheers,
>>> Caio S. Souza
>>>
>>>
>>>
>>>
>>>
>>> 2012/9/19 John Stone <johns_at_ks.uiuc.edu>
>>>
>>>> Hi,
>>>> There is no such source file named "VMD.C". I'm afraid you'll
>>>> have to be more specific about the exact error message you got.
>>>> Please send me the exact compiler error output you get, and I should
>>>> be able to give you concrete suggestions.
>>>>
>>>> In general, we have been compiling VMD regularly with GCC versions
>>>> up to 4.2. I don't know if anyone has tried a GCC 4.6 build recently,
>>>> but our local VMD builds are with somewhat older Linux distributions, so
>>>> we only do builds on bleeding-edge GCC versions someone infrequently for
>>>> special VMD installations at other sites.
>>>>
>>>> Cheers,
>>>> John Stone
>>>> vmd_at_ks.uiuc.edu
>>>>
>>>> On Wed, Sep 19, 2012 at 04:45:55AM -0700, Sandeep Gupta wrote:
>>>> > Hi,
>>>> >
>>>> > I downloaded VMD 1.9.1 src and tried to compile on my ubuntu 12.04
>>>> > box using g++-4.6. After crossing a few hurdles (with respect to
>>>> > plugins) the make command fails at VMD.C. I get an error saying
>>>> > "vmd_initialize_tcl" not defined.
>>>> >
>>>> > I understand that this error is probably a compiler issue. I wanted
>>>> > to know if there is any workaround or which compiler has been test
>>>> > with vmd.
>>>> > Thanks for looking into this.
>>>> >
>>>> > Regards,
>>>> > Sandeep
>>>>
>>>> --
>>>> NIH Resource 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/ Fax: 217-244-6078
>>>>
>>>
>>>
>>
>
>
> --
> Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0
> International Centre for Theoretical Physics, Trieste. Italy.
>