I ran the example in quartus18.0 and it terns out the LNK1107 error
C:\intelFPGA_std\18.0\hls\examples\counter>build test-x86-64 i++ -march=x86-64 counter.cpp -o test-x86-64.exe c:/program files (x86)/microsoft visual studio 14.0/vc/bin/link.exe : fatal erro r LNK1107: 文件无效或损坏: 无法在 0x320 处读取 HLS Link x86-64 FAILED. Run test-x86-64.exe to execute the test.
And I tried quartus_18.1_pro and VS2015 pro on a new installed windows7 system, same problem showed up.
Can any body tell me what's wrong and how to fix it?
1) Are you following the HLS Starting Guide? Did you run the init_hls.bat first? User need to run this *.bat before any compilation as it will setup the environment.
2) Could you check if you have link.exe in c:/program files (x86)/microsoft visual studio 14.0/vc/bin ?
3) This error states that user is adding a 32 bit link file for usage which is incorrect, HLS requires the 64 bit link file. \VC\bin\amd64\link.exe