I am trying to use sphinxtrain library to perform a conversion from .wav to .mfc.
It works fine while I use the binary file generated by the compilation wave2feat.
The problem is I can't use the binary file, I eed to integrate this conversion block to my C++ programmed application.
so I am trying to compile wave2feat.c independently so I can intergrate it () after some modification into my code.
Hi everyone,
I am trying to use sphinxtrain library to perform a conversion from .wav to .mfc.
It works fine while I use the binary file generated by the compilation wave2feat.
The problem is I can't use the binary file, I eed to integrate this conversion block to my C++ programmed application.
so I am trying to compile wave2feat.c independently so I can intergrate it () after some modification into my code.
Why that I can't compile it correcly?
indeed here is the compilation command I use:
gcc -Wall wave2feat.c -I ~/SphinxTrain/include -I ~/SphinxTrain/src/programs/wave2feat -L ~/SphinxTrain/lib.x86_64-unknown-linux-gnu -lcep_feat -lclust -lcommon -lio -lmllr -lmodinv -lrpcc -ls2io -o wave2feat
and I get this errors:
collect2: ld returned 1 exit status
I don't get it, all these header's function are defined in fe.h witch is included in wave2feat.c
Do you know what is wrong, is my compilation command line is incomplete, do I miss a step.
I know I'am asking you a lot, but I really need you here guys, I'm stuck again.
Thank's for reading me.
Best regards.
You should link sphinx libraries too: -Lsphinx_libs_prefx -lsphinxfe -lsphinxutil and probably others