Hi all,
I'm looking for acoustic codes and I found "libacoustic" library related to this subject.
When I run "wmakeAll.sh" file in this library, it is seen the errors below on the panel.
Do you think what the reasons of these errors are ?
make[3]: Leaving directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/tools'
make[2]: Leaving directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/tools'
make[1]: Leaving directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/tools'
Making install in m4
make[1]: Entering directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/m4'
make[2]: Entering directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/m4'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/m4'
make[1]: Leaving directory '/home/kale/Case/UniCFD/libAcoustics-master/OpenFOAM-4.1/lib/FoamFourierAnalysis/fftw-3.3.3/m4'
ls: cannot access 'fftw-3.3.3/lib/lib*.so*': No such file or directory
./makeLib.sh: line 35: wmake: command not found
./wmakeAll.sh: line 7: wmake: command not found
---------------------------------------------------------------------
ls: cannot access 'fftw-3.3.3/lib/lib*.so*': No such file or directory
There is no lib directory and lib*.so file in the fftw-3.3.3 directory. What is the meaning of the extension .so ? What should I do to solve this problem ?
----------------------------------------------------------------------
./makeLib.sh: line 35: wmake: command not found
./wmakeAll.sh: line 7: wmake: command not found
I looked at the 7th like of wmakeAll.sh and the 35th line of makeLib.sh. I'm writing all lines in these files. Could you please tell me what's wrong in these files ?
wmakeAll.sh
#!/bin/bash
cd lib/
./makeLib.sh
cd ../app/surfaceNoise
wmake
#
#END-OF-FILE
#
------------------
makeLib.sh
#!/bin/bash
source ./libEnv.sh
#
# Make FFT Library
#
if [ ! -e fftw.stamp ]
then
THIS_DIR=`pwd`
cd $THIS_DIR/FoamFourierAnalysis/$FFTW_LIB
CFLAGS=-fPIC\\
CXXFLAGS=-fPIC\\
./configure --prefix=$FOAM_USER_LIBBIN/$FFTW_LIB --enable-shared
make
make install
cd $FOAM_USER_LIBBIN
libs=`ls $FFTW_LIB/lib/lib*.so*`
ls $libs
for lib in $libs
do
ln -s $lib
done
cd $THIS_DIR
touch fftw.stamp
fi
#
# Make libAcoustics library
#
wmake lib.so
#
#END-OF-FILE
#
Thank you for your advice.
j-kerbl | Mon, 10/16/2017 - 11:10
Hi gemxx,
Hi gemxx,
altough I don't know this project, it looks as if you need to install/compile 'fftw-3.3.3/' before compiling the libacoustics.
http://www.fftw.org/
I can't support the acoustics library, since I do not have any experience with it.
Cheers,
Josef