I found a problem that a code below cannot be complied with SPTK 3.6.
$ gcc -I/usr/local/SPTK/include -L/usr/local/SPTK/lib sptk_test.c
#include <SPTK.h>
int main () {
return 0;
}
Compiler: gcc4.6 on Ubuntu 12.04 LTS 64bit
Error messagses:
In file included from sptk_test.c:1:0:
/usr/local/SPTK/include/SPTK.h:114:37: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:115:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:115:61: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:116:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:116:60: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:117:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:117:63: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:118:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:118:62: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:119:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:120:1: エラー: 不明な型名 ‘FILE’ です
/usr/local/SPTK/include/SPTK.h:127:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:127:1: エラー: 不明な型名 ‘size_t’ です
/usr/local/SPTK/include/SPTK.h:135:1: エラー: 不明な型名 ‘size_t’ です
Adding a line below to SPTK.h solved this problem.
#include <stdio.h>
Thanks.
$ gcc -I/usr/local/SPTK/include sptk_test.c /usr/local/SPTK/lib/libSPTK.a
Sorry I made a mistake, but the same problem seems to remain.
Dear Ryuichi,
Thank you for using SPTK and your kindly report.
Now we are investigating the problem.
Hopefully your bug report will be reflected in the next stable release.
Best regards,
Akira
The error was fixed in the git repository. We are very sorry for the delay.