[xcrysden] problem in compiling Xcrysden
Tone Kokalj
tone.kokalj at ijs.si
Mon Mar 12 21:46:53 CET 2012
On Mon, 2012-03-12 at 12:35 +0900, محمد ارشد فرحان wrote:
> Dear Prof. Kokalj,
> i compiled the libraries you told me to but i'm stuck for meschach
> library.
> when i tarred the package, there were many pre-compiled files.
> i copied the header files &
> library into /XCrySDen-1.5.24-src-all/external/include/
> and
> /XCrySDen-1.5.24-src-all/external/lib
>
> directories and tried to compile the package again.
> it gave me this error & i defined the value of pi as suggested by you
> to the questioner (from a previous thread of yours ;
> http://www.democritos.it/pipermail/xcrysden/2012-January/001071.html)
>
> now it gives the following error:
>
> " -o xcrys -ltk8.5
> -L/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/lib
> -ltcl8.5 -lGLU -lGL -lXmu -lX11 -lXext -lm
> fft3d.o: In function `fft3d_interpolate':
> fft3d.c:(.text+0x4a9): undefined reference to `fftw_malloc'
Add the -lfftw3 to some ***_LIB variable in Make.sys
Alternatively, consider compiling the newest version instead:
http://www.xcrysden.org/download/xcrysden-1.5.53.tar.gz
The compilation procedure has been improved and compilation should be
smoother. Use the ./system/Make.sys-semishared as a Make.sys, i.e.:
1. cp system/Make.sys-semishared Make.sys
2. $EDITOR Make.sys ([optional]; EDITOR is an editor of your choice)
3. make all
Regards, Tone
--
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
(tel: +386-1-477-3523 // fax:+386-1-477-3822)
Please, if possible, avoid sending me Word or PowerPoint attachments.
See: http://www.gnu.org/philosophy/no-word-attachments.html
More information about the XCrySDen
mailing list