Dear Xcrysden developers,<div> In compiling the 1.5.53 version of Xcrysden I ran into the following error which was generated in ubuntu 10.4 and 12.04 using the gcc compiler. I briefly scanned the archive and could not find previous instances of this problem.</div>
<div><br></div><div><div>gcc -g -static -ansi -ffast-math -funroll-loops -DUSE_FONTS -pedantic -Wall -DUSE_FONTS -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/src/tcl8.5.11/generic -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/src/tk8.5.11/generic -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/include -c gl2ps.c</div>
<div>gl2ps.c: In function ‘gl2psPutPDFText’:</div><div>gl2ps.c:3416: error: ‘M_PI’ undeclared (first use in this function)</div><div>gl2ps.c:3416: error: (Each undeclared identifier is reported only once</div><div>gl2ps.c:3416: error: for each function it appears in.)</div>
</div><div><br></div><div>I notice the M_Pi is defined in the subroutine shank_Hinv.c, but it apparently does not know the value in gl2ps.c. Thanks in advance for any suggestions on how to fix this problem.</div><div> Sincerely, Natalie Holzwarth</div>
<div><br></div><div><br clear="all">N. A. W. Holzwarth email: <a href="mailto:natalie@wfu.edu" target="_blank">natalie@wfu.edu</a><div>Department of Physics web: <a href="http://www.wfu.edu/~natalie" target="_blank">http://www.wfu.edu/~natalie</a></div>
<div>Wake Forest University phone: 1-336-758-5510 </div><div>Winston-Salem, NC 27109 USA office: Rm. 300 Olin Physical Lab</div><br>
</div>