コンパイルは成功しましたが、気になる部分が一つありまして
それはbuild.bat test-fpgaを実行した時のデバイスです
i++ -march=Arria10 counter.cpp -o test-fpga.exe
test-fpga.exe : warning LNK4088: /FORCE オプションによってイメージが生成されています。イメージは動作しない可能性があります。
Run test-fpga.exe to execute the test.
確か、linuxでビルドした時は、ここは選択できた筈
それに私の開発環境ではArria10のデバイスはインストールしていないので
後々不都合になるので、デバイスを指定する
build.bat内をArria10で検索
ビンゴ!、41行目に-march=Arria10と言う記述がズバリ
これを-march=CycloneVと書き換える
i++ -march=CycloneV counter.cpp -o test-fpga.exe
test-fpga.exe : warning LNK4088: /FORCE オプションによってイメージが生成されています。イメージは動作しない可能性があります。
Run test-fpga.exe to execute the test.
どうやらコンパイル出来た様だ