- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我想安装 HTS 2.3,但是当我尝试全部安装时出现此错误
> (cd HTKLib && make HTKLib.a) \ || case "" in *k*) fail=yes;; *) exit
> 1;; esac; make[1]: Entering directory '/home/ahad/Desktop/htk/HTKLib'
> gcc -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o esignal.o esignal.c
> In file included from /usr/include/string.h:630:0,
> from esignal.h:34,
> from esignal.c:29: esignal.c: In function ‘ReadHeader’: esignal.c:974:29: error: ‘ARCH’ undeclared (first use in
> this function)
> if (strcmp(architecture, ARCH) == 0) /* native architecture */
> ^ esignal.c:974:29: note: each undeclared identifier is reported only once for each function it appears in
> esignal.c: In function ‘WriteHeader’: esignal.c:1184:25: error: ‘ARCH’
> undeclared (first use in this function)
> architecture = ARCH;
> ^ esignal.c: In function ‘GetLine’: esignal.c:1760:4: warning: ignoring return value of ‘fgets’, declared
> with attribute warn_unused_result [-Wunused-result]
> fgets(buf, len+1, file);
> ^ esignal.c: In function ‘GetLong’: esignal.c:1808:4: warning: ignoring return value of ‘fgets’, declared with attribute
> warn_unused_result [-Wunused-result]
> fgets(buf, len+1, file);
> ^ <builtin>: recipe for target 'esignal.o' failed make[1]: *** [esignal.o] Error 1 make[1]: Leaving directory
> '/home/ahad/Desktop/htk/HTKLib' Makefile:141: recipe for target
> 'HTKLib/HTKLib.a' failed make: *** [HTKLib/HTKLib.a] Error 1
问题是什么?
我已经安装了 libx11-dev。
最佳答案
为了解决这两个错误,我在 ./configure 中指定了 ARCH,如下所示:
./configure CFLAGS="-DARCH=linux"
它对我有用。
我按照 Knud Larsen 的指示一步一步地这样做:
% tar -zxvf HTK-3.4.1.tar.gz
% tar -zxvf HDecode-3.4.1.tar.gz
% cd htk
% patch -p1 -d . < HTS-2.3_for_HTK-3.4.1.patch
% sudo apt-get install g++-4.7
% export CC=gcc-4.7 CXX=g++-4.7
% ./configure CFLAGS="-DARCH=linux"
% make all
% make hlmtools install-hlmtools
% make hdecode install-hdecode
% sudo make install
关于linux - 在 Ubuntu 16.04 上为 HTK 3.4.1 安装 HTS 2.3 有错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37719890/
我预计会有大量时间序列(5,000多个)。我想使用分层方法来完成此任务,因为我会进行更高级别的预测,然后将预测分配给每个SKU。我认为有必要这样做,以便放大较低的地理细节级别,同时进行较高级别的预测(
当使用 combinef() 组合预测时,生成的 hts 时间序列具有类似于 A、AA、AB 的级别名称......它不会保留提供的 hts 时间序列中的级别名称。 在下面的示例中,底层名称是“A10
我正在尝试使用 hts package for hierarchical forecasting为了一起预测水网的不同尺度,以便协调预测。水网络由流量计组成,以正或负测量流量,当我们汇总净流量时,它给
我好像没弄对。我需要一个正则表达式来只允许数字和小数 (0-9),并采用以下格式: 1234.56.7890 或 1234567890 它可以以 0 开头,但必须是 10 位数字(如果没有小数),
我想在家里访问我的 PC,但是,与我家的连接在 NAT 防火墙下,它阻止了所有端口80 和 443 除外。无论如何,我无法对网络进行任何修改。 我已经设置了 httptunnel在我的家庭和工作电脑上
我目前正在使用带有单个外部变量的 forecast.gts(hts 包),该变量为所有单独的时间序列保存相同的值,以便创建 30 天的预测,但是我想要包括另一个外部回归器,它为每个单独的 ts 保存不
我目前正在使用带有单个外部变量的 forecast.gts(hts 包),该变量为所有单独的时间序列保存相同的值,以便创建 30 天的预测,但是我想要包括另一个外部回归器,它为每个单独的 ts 保存不
我想安装 HTS 2.3,但是当我尝试全部安装时出现此错误 > (cd HTKLib && make HTKLib.a) \ || case "" in *k*) fail=yes;; *) ex
我是一名优秀的程序员,十分优秀!