From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Mar 05 2014 - 22:51:25 CST

Hi,
  I would suggest checking through the discussion we just had with
Carolyn Phillips just in the last couple of days, in particular checking
that you have a current CUDA driver, and see if that cures your
problem with the pre-compiled version or not. If not, I'll have to see
about reproducing the issue you have with compilation using the
newer compiler toolchain.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Feb 25, 2014 at 05:19:01PM +0100, Zhenquan Hu wrote:
> Recently I want to compile VMD on a macbook (with GT750) with OSX 10.9.
> Because the pre-compiled version couldn't work if CUDA is turned on. And
> below are the error code:
> #=====================================================================================================================================
> ...
> Compiling VMDApp.C --> VMDApp.o ...
> In file included from VMDApp.C:91:
> In file included from ./FltkOpenGLDisplayDevice.h:27:
> ./OpenGLRenderer.h:116:3: warning: 'GLUquadricObj' is deprecated: first
> deprecated in OS X 10.9 [-Wdeprecated-declarations]
> GLUquadricObj *pointsQuadric;
> ^
> /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26: note:
> 'GLUquadricObj' declared here
> typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9);
> ^
> In file included from VMDApp.C:91:
> In file included from ./FltkOpenGLDisplayDevice.h:27:
> ./OpenGLRenderer.h:117:3: warning: 'GLUquadricObj' is deprecated: first
> deprecated in OS X 10.9 [-Wdeprecated-declarations]
> GLUquadricObj *objQuadric;
> ^
> /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26: note:
> 'GLUquadricObj' declared here
> typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9);
> ^
> VMDApp.C:273:16: error: no matching constructor for initialization of
> 'UIText'
> uiText = new UIText(this, strcmp(displaytype, "TEXT") != 0); // text
> user interface
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./UIText.h:45:3: note: candidate constructor not viable: requires 3
> arguments, but 2 were provided
> UIText(VMDApp *, int guienabled, int mpienabled);
> ^
> ./UIText.h:35:7: note: candidate constructor (the implicit copy
> constructor) not viable: requires 1 argument, but 2 were provided
> class UIText : public UIObject {
> ...
> ...
> 9 warnings and 1 error generated.
> make: *** [VMDApp.o] Error 1
> #======================================================================================================================================
> Could anyone help me to fix this problem?
> Thanks,
> Zhenquan

-- 
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/