0
私はソリューションを構築するとき、私は次のエラーを取得:
Severity Code Description Project File Line Suppression State
Error C2059 syntax error: 'sizeof' encog-core C:\Users\ypx7647\Documents\Visual Studio 2015\Projects\encog-c-master\encog-core\util.c 39
Error C2059 syntax error: 'sizeof' encog-core C:\Users\ypx7647\Documents\Visual Studio 2015\Projects\encog-c-master\encog-core\util.c 44
このリンカ問題:
はSeverity Code Description Project File Line Suppression State
Error LNK1181 cannot open input file 'C:\Users\ypx7647\Documents\Visual Studio 2015\Projects\encog-c-master\Release\encog-core.lib' encog-cmd C:\Users\ypx7647\Documents\Visual Studio 2015\Projects\encog-c-master\encog-cmd\LINK 1
私はコード(ここではコードがあります)で、エラーをsunderstandません。
#ifdef _MSC_VER
int isnan(double x)
{
return x != x;
}
int isinf(double x)
{
return !isnan(x) && isnan(x - x);
}
#endif
リンカーエラーのため、encog-c-core.libファイルが見つかりません。 lリンカーディレクトリ。
私は間違っていますか?ソースをコンパイルするために、環境の中で何を設定する必要がありますか?
ご協力いただきありがとうございます。 https://msdn.microsoft.com/en-us/library/tzthab44.aspx
実際、私は間違っています。 https://github.com/encogからhttp://www.heatonresearch.com/encog/からソースをダウンロードしました。 – Andrew