g4klx / AMBETools

Programs for encoding and decoding AMBE files.
GNU General Public License v2.0
46 stars 15 forks source link

Error wile compiling "g++: error: ../../imbe_vocoder/src/lib/imbe.a: No such file or directory" #4

Open krot4u opened 1 year ago

krot4u commented 1 year ago

Hi! I have a problem on compiling this tool. What could be a problem? There is no file imbe_vocoder/src/lib/imbe.a in repository.

make -C Common
make[1]: Entering directory '/opt/AMBETools/Common'
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o AMBEFileReader.o AMBEFileReader.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib AMBEFileReader.cpp > AMBEFileReader.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o AMBEFileWriter.o AMBEFileWriter.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib AMBEFileWriter.cpp > AMBEFileWriter.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o DV3000SerialController.o DV3000SerialController.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib DV3000SerialController.cpp > DV3000SerialController.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o IMBEFEC.o IMBEFEC.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib IMBEFEC.cpp > IMBEFEC.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o SerialController.o SerialController.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib SerialController.cpp > SerialController.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o Utils.o Utils.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib Utils.cpp > Utils.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o WAVFileReader.o WAVFileReader.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib WAVFileReader.cpp > WAVFileReader.d
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -c -o WAVFileWriter.o WAVFileWriter.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib WAVFileWriter.cpp > WAVFileWriter.d
ar rcs Common.a AMBEFileReader.o AMBEFileWriter.o DV3000SerialController.o IMBEFEC.o SerialController.o Utils.o WAVFileReader.o WAVFileWriter.o codec2/codebooks.o codec2/codec2.o codec2/kiss_fft.o codec2/lpc.o codec2/nlp.o codec2/pack.o codec2/qbase.o codec2/quantise.o
make[1]: Leaving directory '/opt/AMBETools/Common'
make -C AMBE2WAV
make[1]: Entering directory '/opt/AMBETools/AMBE2WAV'
g++ -O2 -Wall -I../../imbe_vocoder/src/lib -I../Common -c -o AMBE2WAV.o AMBE2WAV.cpp
g++ -MM -O2 -Wall -I../../imbe_vocoder/src/lib -I../Common AMBE2WAV.cpp > AMBE2WAV.d
g++ AMBE2WAV.o ../Common/Common.a  -lsndfile ../../imbe_vocoder/src/lib/imbe.a -o ambe2wav
g++: error: ../../imbe_vocoder/src/lib/imbe.a: No such file or directory
make[1]: *** [Makefile:7: ambe2wav] Error 1
make[1]: Leaving directory '/opt/AMBETools/AMBE2WAV'
make: *** [Makefile:9: AMBE2WAV/ambe2wav] Error 2
ray2510 commented 1 year ago

The repo https://github.com/g4klx/imbe_vocoder needs to be cloned and placed at the same level in the file structure as the folder for this repository You have to run make in imbe_vocoder/src/lib first.