Forum Discussion
- jjl37 years ago
New Contributor
Yes, I did as the document hls/ug-hls-getting-started.pdf
C:\intelFPGA_lite\18.1\hls\examples\counter>init_hls.bat
Assuming current directory (C:\intelFPGA_lite\18.1\hls\) is root of i++
Will use C:\intelFPGA_lite\18.1\hls\..\quartus to find Quartus for internal i++ use
Quartus at C:\intelFPGA_lite\18.1\quartus\bin64\ will be used for any direct use
Will be using Modelsim at C:\modeltech64_10.7c\win64\
Adding C:\intelFPGA_lite\18.1\hls\bin to PATH
Adding C:\intelFPGA_lite\18.1\hls\host\windows64\bin to PATH
C:\intelFPGA_lite\18.1\hls\examples\counter>build.bat test-x86-64
i++ -march=x86-64 counter.cpp -o test-x86-64.exe
msvcrt.lib(crtexe.obj) : error LNK2019: unresolved external symbol __imp_Sleep referenced in function __tmainCRTStartup
msvcrt.lib(crtexe.obj) : error LNK2019: unresolved external symbol __imp_EncodePointer referenced in function pre_c_init
msvcrt.lib(atonexit.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
msvcrt.lib(unhandld.obj) : error LNK2019: unresolved external symbol __imp_SetUnhandledExceptionFilter referenced in function __CxxSetUnhandledExceptionFilter
msvcrt.lib(atonexit.obj) : error LNK2019: unresolved external symbol __imp_DecodePointer referenced in function _onexit
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceCounter referenced in function __security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetTickCount referenced in function __security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThreadId referenced in function __security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcessId referenced in function __security_init_cookie
msvcrt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetSystemTimeAsFileTime referenced in function __security_init_cookie
test-x86-64.exe : fatal error LNK1120: 9 unresolved externals
HLS Link x86-64 FAILED.
Run test-x86-64.exe to execute the test.