[xcrysden] Problem with installing xcrysden on Mac OS 10.17.7 (Catalina)
Vo, Trinh T (US 398K)
trinh.vo at jpl.nasa.gov
Mon Aug 16 19:02:24 CEST 2021
Dear Developer,
I compiled from source code of xcrysden on my new laptop, and I encountered the following errors:
# Compiling XCRYSDEN C-code #
# #
#------------------------------#
cd C; /Applications/Xcode.app/Contents/Developer/usr/bin/make "TOPDIR=/Users/trinhvo/xcrysden-1.6.2" compile
make TOPDIR=/Users/trinhvo/xcrysden-1.6.2
gcc -ffast-math -funroll-loops -fPIC -pedantic -Wall -I/usr/include/tcl8.6 -I/usr/local/Cellar/tcl-tk/8.6.11_1/include -I/usr/local/Cellar/tcl-tk/8.6.11_1/include -c xcAppInit.c
xcAppInit.c:407:3: error: implicit declaration of function 'XGetErrorText' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
XGetErrorText(display,event->error_code,buffer,sizeof(buffer)-1);
^
xcAppInit.c:1834:7: warning: 'glDrawBuffer' is deprecated: first deprecated in
macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to
silence these warnings) [-Wdeprecated-declarations]
glDrawBuffer(GL_BACK);
I do not know how to fix this error. I have installed all the required libs using homebrew
- Tcl/Tk
- mesa and mesa-glu
- FFTW3
For these libs, I download from web)
- BWidget
- Togl (2.0 or later).
I appreciate if you could help me to fix this error.
Thank you very much,
Trinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20210816/2e1fece7/attachment.htm
More information about the XCrySDen
mailing list