From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Jul 20 2010 - 09:47:22 CDT

Vlad,
  Try removing the "SDL" from your VMD configuration flags.
This is likely creating havoc since it's somewhat mutually exclusive
with the other code and probably isn't entirely up-to-date with the
latest SDL revs on Suse 11.x if I were to guess.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Jul 20, 2010 at 04:22:15PM +0200, Vlad Cojocaru wrote:
> 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

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