[xcrysden] Cannot compile xcrysden because of XVisualInfo error

Matic Poberznik matic.poberznik at gmail.com
Tue May 9 10:20:42 CEST 2017


Dear Dave,

> But it gave me a big hint that TCL_VER      = 85
> might be wrong too.
> Then I tried to change TCL_VER into 8.5, 8.5.19, 8.4
> TCL_VER      = 8.6 finally did something but gave other errors

The correct version of tcl (TCL_VER) should definitely be 8.5

> 
> TCL_PREFIX   = /usr
> TCL_VER      = 8.6
> TCL_LIB      = -L$(TCL_PREFIX)/lib -ltcl$(TCL_VER) -ltclstub$(TCL_VER)
> TK_LIB       = -ltk$(TCL_VER) -ltkstub$(TCL_VER)
> GLU_LIB      = -lglu32
> GL_LIB       = -lopengl32 -lgdi32
> FFTW3_LIB    = -lfftw3
> # this is only used for some testing purposes
> #MESCHACH_LIB =

The error probably occurs because the compiler doesn't find your tcl
libraries. The TCL_LIB variable should point to where the libraries are
located in your system.

... -L/path/to/tcl-lib/lib -ltcl8.5 ...


best regards,

Matic Poberznik
-- 
Matic Poberznik
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia


More information about the XCrySDen mailing list