2011/6/24 Nikos Bentenitis <[email protected]>:
> This is a followup to my last question: I found out that there is an
> option to exclude sqlite3, and I used it as in the following command.
> However, I now get a new problem with fftw. Could you please take a
> look?
There is just a typo in -DFFTW3_LIBRARY, it must be
 -DFFTW3_LIBRARY=$HOME/programs/fftw-3.2.1d/lib/libfftw3.so
mind the 'libfftw3.so' at the end. In case you have only a static
version of fftw, it should be
 -DFFTW3_LIBRARY=$HOME/programs/fftw-3.2.1d/lib/libfftw3.a

Cheers,

Christoph
>
> Input:
> ./build.sh --prefix /home/bentenin/programs/votca-1.1.2
> -DGSL_INCLUDE_DIR=$HOME/programs/gsl-1.0/include
> -DGSL_LIBRARY=$HOME/programs/gsl-1.0/lib/libgsl.so
> -DCBLAS_LIBRARY=$HOME/programs/gsl-1.0/lib/libgslcblas.so
> -DFFTW3_INCLUDE_DIR=$HOME/programs/fftw-3.2.1d/include
> -DFFTW3_LIBRARY=$HOME/programs/fftw-3.2.1d/lib
> -DGMX_INCLUDE_DIR=$HOME/programs/gromacs-4.5.3/include
> -DGMX_LIBRARY=$HOME/programs/gromacs-4.5.3/lib
> -DEXTERNAL_BOOST=OFF -DWITH_SQLITE3=OFF tools
>
> Output:
> libvotca_tools.so.2: undefined reference to `fftw_plan_dft_r2c_1d'
> libvotca_tools.so.2: undefined reference to `fftw_plan_r2r_1d'
> libvotca_tools.so.2: undefined reference to `fftw_plan_dft_c2r_1d'
> libvotca_tools.so.2: undefined reference to `fftw_execute'
> libvotca_tools.so.2: undefined reference to `fftw_destroy_plan'
> libvotca_tools.so.2: undefined reference to `fftw_free'
> libvotca_tools.so.2: undefined reference to `fftw_malloc'
> collect2: ld returned 1 exit status
> make[2]: *** [src/libtools/linktest] Error 1
> make[1]: *** [src/libtools/CMakeFiles/linktest.dir/all] Error 2
> make: *** [all] Error 2
>
> --
> This email was Anti Virus checked by Astaro Security Gateway. 
> http://www.astaro.com
>



-- 
Dr. Christoph Junghans
Max Planck Institute for Polymer Research
Theory Group
POBox 3148
D 55021 Mainz, Germany

Phone: +49 6131 379 335
Web: http://www.mpip-mainz.mpg.de/~junghans

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/votca?hl=en.

Reply via email to