From: Vlad Cojocaru (vlad.cojocaru_at_mpi-muenster.mpg.de)
Date: Tue Jul 20 2010 - 09:22:15 CDT

Dear all,

I am trying to compile VMD 1.8.7 from source and I get the error below.
Does anybody have any idea what can be wrong here ?

I have a new working place, a new workstation on which I installed the
new openSUSE 11.3
architecture: amd64
kernel: 2.6.34
gcc: 4.5
nvidia graphics driver 256.35 (Quadro FX 3800)

configure options:
LINUXAMD64 OPENGL SDL FLTK TK ACTC CUDA IMD XINPUT LIBTACHYON NETCDF TCL
PYTHON PTHREADS NUMPY TKCON LP64

error:
echo "Compiling " OpenGLDisplayDevice.C " --> " OpenGLDisplayDevice.o "
..."; \
g++ -m64 -fno-for-scope -Wno-deprecated -Wall -O6 -ffast-math
-DARCH_LINUXAMD64 -DVMDOPENGL -DVMDGRAPHICS -DVMDOPENGL -DVMDSDL
-DVMDGRAPHICS -DVMDACTC -DVMDCUDA -DMSMPOT_CUDA -DVMDIMD -DVMDXINPUT
-DVMDLIBTACHYON -DVMDPYTHON -DVMDTHREADS -DUSEPOSIXTHREADS -D_REENTRANT
-DVMDNUMPY -DVMDORBITALS -DVMDWITHORBITALS -DVMDWITHCARBS -DVMDPOLYHEDRA
-DVMDSURF -DVMDMSMS -DVMDFIELDLINES -DVMDPBCSMOOTH -DVMDTCL -DVMDTK
-DVMDTKCON -DVMDSTATICPLUGINS -DVMDGUI -DVMDFLTK
-I/usr/local/include/actc -I/usr/local/lib/cuda/include
-I/usr/local/include/tachyon -I/usr/include/python
-I/usr/lib64/python/site-packages/numpy/core/include/numpy -I -I
-I/usr/local/lib/vmd/1.8.7.src/plugins/include
-I/usr/local/lib/vmd/1.8.7.src/plugins/LINUXAMD64/molfile -I. -c
OpenGLDisplayDevice.C -o ../LINUXAMD64/OpenGLDisplayDevice.o
Compiling OpenGLDisplayDevice.C --> OpenGLDisplayDevice.o ...
OpenGLDisplayDevice.C:131:52: error: ‘spaceballevent’ has not been declared
OpenGLDisplayDevice.C: In function ‘int
xinput_device_decode_event(xinputhandle*, xidevhandle*, XEvent*, int*)’:
OpenGLDisplayDevice.C:139:17: error: request for member ‘tx’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:140:17: error: request for member ‘ty’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:141:17: error: request for member ‘tz’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:142:17: error: request for member ‘rx’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:143:17: error: request for member ‘ry’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:144:17: error: request for member ‘rz’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:145:17: error: request for member ‘period’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:146:17: error: request for member ‘event’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:151:17: error: request for member ‘buttons’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:152:17: error: request for member ‘event’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:157:17: error: request for member ‘buttons’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C:158:17: error: request for member ‘event’ in ‘*
sballevent’, which is of non-class type ‘int’
OpenGLDisplayDevice.C: At global scope:
OpenGLDisplayDevice.C:166:32: error: ‘spaceballevent’ has not been declared
OpenGLDisplayDevice.C:286:8: error: ‘spaceballhandle’ does not name a type
OpenGLDisplayDevice.C:351:29: error: variable or field ‘spaceball_close’
declared void
OpenGLDisplayDevice.C:351:29: error: ‘spaceballhandle’ was not declared
in this scope
OpenGLDisplayDevice.C:351:46: error: ‘handle’ was not declared in this scope
OpenGLDisplayDevice.C:355:35: error: ‘spaceballhandle’ was not declared
in this scope
OpenGLDisplayDevice.C:355:52: error: ‘handle’ was not declared in this scope
OpenGLDisplayDevice.C:355:60: error: expected primary-expression before
‘const’
OpenGLDisplayDevice.C:355:79: error: ‘spaceballevent’ was not declared
in this scope
OpenGLDisplayDevice.C:355:95: error: ‘sballevent’ was not declared in
this scope
OpenGLDisplayDevice.C:355:105: error: initializer expression list
treated as compound expression
OpenGLDisplayDevice.C:355:107: error: expected ‘,’ or ‘;’ before ‘{’ token
OpenGLDisplayDevice.C:37:55: warning: ‘glStereoNameStr’ defined but not used
OpenGLDisplayDevice.C:50:55: warning: ‘glRenderNameStr’ defined but not used
OpenGLDisplayDevice.C:55:53: warning: ‘glCacheNameStr’ defined but not used
OpenGLDisplayDevice.C:65:15: warning: ‘cursorFG’ defined but not used
OpenGLDisplayDevice.C:67:15: warning: ‘cursorBG’ defined but not used
OpenGLDisplayDevice.C:165:12: warning: ‘int
xinput_decode_event(xinputhandle*, XEvent*, int*)’ defined but not used
OpenGLDisplayDevice.C:178:23: warning: ‘xinputhandle*
xinput_enable(Display*, Window)’ defined but not used
OpenGLDisplayDevice.C:355:35: warning: ‘spaceball_decode_event’ defined
but not used
make: *** [OpenGLDisplayDevice.o] Error 1

-- 
Dr. Vlad Cojocaru
Max Planck Institute for Molecular Biomedicine
Department of Cellular and Developmental Biology
Roentgenstrasse 20
48149 Muenster, Germany
tel: +49-251-70365-324
fax: +49-251-70365-399
email: vlad.cojocaru[at]mpi-muenster.mpg.de