[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:00123] ask how to compile HTK ?


We are already compiling the library HTK, of which we called the method
of a class by means of an interface, compiling with
make in ../HTKLib we do not have problems and all the archives .o and
the HTKLib.linux.a library are generated, but when we compiled
from ../HTKTools the following errors are generated:

gcc HEAdapt.o ../HTKLib/HTKLib.linux.a  -lm -L/usr/X11R6/lib
-L/root/aplicacion_tts/src/Biblioteca
../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0xd): In function
`Step_Forward':
: undefined reference to `Entrenamiento::Entrenamiento[in-charge]()'
../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0x24): In function
`Step_Forward':
: undefined reference to `Entrenamiento::Create_Alpha(AlphaBeta*,
_HMMSet*, int, int, hsh::Boolean)'
../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0x2d): In function
`Step_Forward':
: undefined reference to `Entrenamiento::~Entrenamiento [in-charge]()'
../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0x43): In function
 `Step_Forward':
: undefined reference to `Entrenamiento::~Entrenamiento [in-charge]()'
../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0x73): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `std::ios_base::Init::Init[in-charge]()'
 ../HTKLib/HTKLib.linux.a(Interfaz.o)(.text+0x9c): In function `__tcf_0':
 : undefined reference to `std::ios_base::Init::~Init [in-charge]()'
 ../HTKLib/HTKLib.linux.a(Interfaz.o)(.eh_frame+0x12): undefined
 reference
to `__gxx_personality_v0'
 collect2: ld returned 1 exit status
 make: *** [HEAdapt] Error 1

 We sent the archives:

- Interfaz.h: this is including within HFB.c which calls to a function
 of the file: Interface.h called Step_Forward
- Interfaz.cpp: it makes the call to the method that this in
 Entrenamiento.h called Create_Alpha
- Entrenamiento.h: file generated in kdevelop 3,0 (C++) that connects
  with HTK.
 - Makefile de modified HTKLib

 Thank you very much.

Attachment: Interfaz.h
Description: Binary data

Attachment: Interfaz.cpp
Description: Binary data

Attachment: Makefile
Description: Binary data

Attachment: Entrenamiento.h
Description: Binary data


Follow-Ups
[hts-users:00125] Re: ask how to compile HTK ?, Heiga ZEN (Byung Ha CHUN)