|
From: Daniel P. <dp...@gm...> - 2015-02-03 23:46:42
|
> > > I am trying to compile Kaldi on Cygwin with the newer OpenFST 1.4.1. > All the tools have been compiled (OpenFST with --enable-static > --disable-shared, g++ version 4.8.3), but there seems to be a bug in the > file trunk/src/makefiles/cygwin.mk: > > Instead of -enable-auto-import, it should be --enable-auto-import (two > times mentioned in the file) > > Please check that in! > After fixing that, there seems to be some problems with the new C++11 > standard library, or some compile-time symbols seem not to be set correctly: > > kaldi-math.cc:52:33: error: ‘rand_r’ was not declared in this scope > > return rand_r(&(state->seed)); > Possibly the relevant include statement was not done-- please see if you can figure out what needs to be included. > > kaldi-matrix.cc:1327:49: error: there are no arguments to ‘strcasecmp’ > that depend on a template parameter, so a declaration of ‘strcasecmp’ must > be available [-fpermissive] > > if (!KALDI_STRCASECMP(str.c_str(), "inf") || > Again, this may be a question of not including the correct things- see if you can figure it out. But send a patch to me before you commit- I want to check that these things are also available on other platforms. > Do you know, which flags need to be set for Kaldi to compile? > > From previous runs, I already experienced, that for Kaldi to compile, I > have to use the -O2 option, otherwise I get "too many sections" errors from > the linker. > This is a Windows limitation. Previously I think I had to break some files up into smaller pieces to get around this problem. Let me know which files it's talking about. Dan > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Kaldi-developers mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-developers > > |