From: Zhenquan Hu (zhqhu.sioc_at_gmail.com)
Date: Tue Feb 25 2014 - 10:19:01 CST

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