[xcrysden] Error - undefined reference to symbol 'glXUseXFont'
Weilin Deng
dengweilinh at gmail.com
Tue Jul 22 17:55:52 CEST 2014
Dear all,
I have a problem when installing xcrysden-1.5.60 as follows:
#------------------------------#
# #
# Compiling XCRYSDEN C-code #
# #
#------------------------------#
cd C; make "TOPDIR=/home/weilin/Softwares/xcrysden-1.5.60" compile
make[1]: Entering directory `/home/weilin/Softwares/xcrysden-1.5.60/C'
make TOPDIR=/home/weilin/Softwares/xcrysden-1.5.60
make[2]: Entering directory `/home/weilin/Softwares/xcrysden-1.5.60/C'
gcc -ansi -funroll-loops -fPIC -DUSE_FONTS detnsplit.o xcAppInit.o
xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o
xcAtomAdd.o loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o
xcDisplayFunc.o readstrf.o mxmymz.o remakestr.o xcSelect.o readisodata.o
lighting.o xcGLparam.o colorplane.o isorender.o polygonise.o
polygonise_auxil.o xcIsoSurf.o voronoi.o xcBz.o xcSuperCell.o
xcPrimitives.o setOpenGLState.o memory.o isoMalloc.o isoInterpolate.o
readPlvertex.o splineInt.o paraSize.o isoline.o xcIsoSpaceSel.o cells.o
xcWigner.o xcTogl.o datagrid.o sInfo.o xcIsoDataGrid.o xcColorScheme.o
xcReadXSF.o xcF3toI4.o xcFractCoor.o signal.o MarchCubes.o isosurf.o
xcMolSurf.o cryNewContext.o fs.o cryDispFunc.o cryDispFuncMultiFS.o
crySetProj.o crySurfArgs.o crySurf.o cryTransform.o cryClip.o cryTogl.o
forces.o xcForces.o gl2psPrintTogl.o ppmPrintTogl.o lcasi.o lcasif.o
xcFont.o fog.o writeXSF.o hbonds.o xcHBonds.o linear.o realTimeMovie.o
getline.o gridNormals.o fft3d.o fft_util.o shank3d.o shank_Hinv.o
shank_util.o togl.o gl2ps.o sgiRasterFont.o sgiAux.o \
-o xcrys -lfftw3 -L/home/weilin/Softwares/xcrysden-1.5.60/external/lib
-ltk8.5 -L/home/weilin/Softwares/xcrysden-1.5.60/external/lib -ltcl8.5
-L/home/weilin/Softwares/xcrysden-1.5.60/external/lib -lGLU
-L/usr/X11R6/lib -lXmu -lX11 -lXext -lm
/usr/bin/ld: togl.o: undefined reference to symbol 'glXUseXFont'
*//usr/lib/x86_64-linux-gnu/mesa/libGL.so.1: error adding symbols: DSO
missing from command line*
*collect2: error: ld returned 1 exit statusmake[2]: *** [xcrys] Error
1make[2]: Leaving directory
`/home/weilin/Softwares/xcrysden-1.5.60/C'make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/weilin/Softwares/xcrysden-1.5.60/C'make:
*** [src-C] Error 2*
Does anyone know how to deal with this error?
Thank you in advance.
Best,
WL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20140722/fb474afe/attachment.htm
More information about the XCrySDen
mailing list