<div dir="ltr"><div><div>Hello,<br></div>when I compile I get stuck on the line with the  unknown type name ‘XVisualInfo’ error.<br></div>Because I have a windows 10 computer I compile inside the cygwin 32 bit environment<br><div><div><div><div></div><div><br></div><div>I guess it has something to do with opengl. Last few days I installed everything of x11, opengl and so on but this error keeps popping up. I like to use xcrysden for exciting dft and exciting itself compiles fine. It is the opengl, xwindows part of xcrysden that makes the installation complicated. Has anybody seen this before or got a clue?<br><br></div><div>Kind regards,<br></div><div>Dave<br></div><div><br><br>....<br>xcFont.c:395:7: let op: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]<br>       sprintf(interp-&gt;result, &quot;error parsing dark font color, should be {red green blue}, but got %s&quot;, dark_argv);<br>       ^<br>In file included from xcFont.c:37:0:<br>/usr/include/tcl.h:504:11: note: declared here<br>     char *result TCL_DEPRECATED_API(&quot;use Tcl_GetStringResult/Tcl_SetResult&quot;);<br>           ^<br>In file included from xcFont.c:444:0:<br>togl_struct.h: Op bovenste niveau:<br>togl_struct.h:86:5: fout: unknown type name ‘XVisualInfo’<br>     XVisualInfo *VisInfo;       /* Visual info of the current */<br>     ^<br>make[2]: *** [Makefile.cygwin:16: xcFont.o] Fout 1<br>make[2]: Map &#39;/home/Dave/xcrysden-1.5.60/C&#39; wordt verlaten<br>make[1]: *** [Makefile:23: compile] Fout 2<br>make[1]: Map &#39;/home/Dave/xcrysden-1.5.60/C&#39; wordt verlaten<br>make: *** [Makefile:77: src-C] Fout 2<br><br>Dave@DESKTOP-9JQLKA3 ~/xcrysden-1.5.60<br><br><br><br><br>My make.sys file:<br>=================<br>#########################################################################<br>#<br># System-dependent definitions CYGWIN.<br>#<br># EDIT ACCORDING TO YOUR OWN NEEDS !!!<br>#<br>########################################################################<br><br>MAKE   = make <br>CYGWIN = -f Makefile.cygwin<br><br>#------------------------------------------------------------------------<br># compilers &amp; flags<br>#------------------------------------------------------------------------<br>CC          = cc -g <br>SHARED      = -shared<br>CFLAGS      = -O2<br>#-mno-cygwin<br>#-mcygwin <br><br>CPPFLAGS    = -DCYGWIN -DWIN32 -DUSE_FONTS -DNEAR_BUG -DUSE_INTERP_RESULT<br>LDLIB       = <br>MATH        =<br><br>FC          = g77 -O2<br># -mcygwin<br>FFLAGS      = <br><br>#------------------------------------------------------------------------<br># Libraries and include files<br>#------------------------------------------------------------------------<br>X_LIB       =<br># -L/usr/X11R6/lib -lX11.dll<br>X_INCDIR    =<br><br><br>TCL_PREFIX   = /usr<br>TCL_VER      = 85<br>TCL_LIB      = -L$(TCL_PREFIX)/lib -ltcl$(TCL_VER) -ltclstub$(TCL_VER) <br>TK_LIB       = -ltk$(TCL_VER) -ltkstub$(TCL_VER)<br>GLU_LIB      = -lglu32<br>GL_LIB       = -lopengl32 -lgdi32<br>FFTW3_LIB    = -lfftw3<br># this is only used for some testing purposes<br>#MESCHACH_LIB = <br><br>TCLTK_SRC   = /usr/src/tcltk-20080420-1<br># on some machines this is needed: -I$(TCLTK_SRC)/tk/xlib<br>TCL_INCDIR      = -I$(TCLTK_SRC)/tcl/generic -DUSE_TCL_STUBS<br>TK_INCDIR       = -I$(TCLTK_SRC)/tk/generic  -I$(TCLTK_SRC)/tk/win/ -DUSE_TK_STUBS -I$(TCLTK_SRC)/tk/xlib<br>GL_INCDIR       = -I/usr/include/opengl<br>FFTW3_INCDIR    =<br># this is only used for some testing purposes<br>#MESCHACH_INCDIR =<br><br>#------------------------------------------------------------------------<br><br><br></div></div></div></div></div>