Forum Discussion
I am trying to reproduce the error but not able to do it so far. Can you please try opening the terminal 'x64 Native Tools Command Prompt' command window available in the Microsoft Visual Studio installation.
Then run init_hls.bat in that window.
And then try running counter example build.bat.
- sThei7 years ago
New Contributor
Same problem.
C:/intelFPGA_pro/18.1/hls/include\HLS/hls.h:16:10: fatal error: 'type_traits' file not foundIf I copy the "type_traits" file to "examples/counter" it can be found. Next problem is, that it cannot find the "xstddef" file. Looks like the linker cannot find files in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include".
- Prince_J_Intel7 years ago
New Contributor
-- adding this comment again with images attached.
i am able to reproduce the issue. See the attached image which shows same error of LNK1107. This is because you are not using the command prompt i suggested. This leads to not recoginizing the correct visual studio libraries. see the blue encircled name of the command window.
Use below window instead. You can see that all works greats with no issues.