[xcrysden] compile on ubuntu 7.041

Christian Meisenbichler christian.meisenbichler at unileoben.ac.at
Mon Jul 30 16:43:12 CEST 2007


Dear List

we experience performance problems with Ubuntu 7.04 and the statically
linked library when using the restricted drivers for Nvidia. so I tried to
compile the source after installing the packages:

libgl1-mesa-dev
libglu1-mesa-dev
libtk8.3
tk8.3-dev
tclx8.3-dev

and setting the include directories. compilation stops with:

gcc -ansi   -funroll-loops -fPIC -DUSE_FONTS   -DUSE_FONTS -I
/usr/include/tcl8.3/tcl-private/generic/  -I
/usr/include/tcl8.3/tk-private/generic/ -I /usr/include/GL
-I/usr/include/X11/  -c xcDisplayFunc.c
xcDisplayFunc.c:162: error: static declaration of \u2018HandleDisplay\u2019
follows non-static declaration
anaglyph.h:81: error: previous declaration of \u2018HandleDisplay\u2019 was
here
xcDisplayFunc.c:164: error: static declaration of \u2018CameraHome\u2019
follows non-static declaration
anaglyph.h:82: error: previous declaration of \u2018CameraHome\u2019 was
here
xcDisplayFunc.c:165: error: static declaration of \u2018Normalise\u2019
follows non-static declaration
anaglyph.h:83: error: previous declaration of \u2018Normalise\u2019 was here
xcDisplayFunc.c:166: error: static declaration of \u2018CalcNormal\u2019
follows non-static declaration
anaglyph.h:84: error: previous declaration of \u2018CalcNormal\u2019 was
here
make[2]: *** [xcDisplayFunc.o] Error 1
make[2]: Leaving directory `/fshome/chm/Desktop/XCrySDen-1.4.1s/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/fshome/chm/Desktop/XCrySDen-1.4.1s/C'
make: *** [src-C] Error 2

any hint?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20070730/d4bfddf3/attachment.htm 


More information about the XCrySDen mailing list