- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
I am a starter for hls,
I have some problems, when I try this example "counter" as ug-hls-getting-started.
I am using VS2010 professional and Quartus 18.1 lite.
I don't know where is wrong.
Thanks for your support!
The detail information as below:
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page