Forum Discussion
Altera_Forum
Honored Contributor
11 years agoProblem with compiling host code in VS 2010 and emulation
I am trying out the simple vector addition example given on Altera website. I have AOCL 14.1, Quartus 14.1 and VS2010 installed. I am able to compile the OpenCL kernel without any problem. However...
Altera_Forum
Honored Contributor
11 years agoI have been able to resolve the AOC unable to find VS LINK.EXE. I was trying emulation from within SoC embedded shell. That was wrong. I switched to windows command prompt shell. Also the path should be C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64
However, I still have the VS2010 build error: LINK : warning LNK4044: unrecognized option '/LC:\altera\14.1\hld\board\de1soc\arm32\lib'; ignored 1>LINK : warning LNK4044: unrecognized option '/lalterahalmmd'; ignored 1>LINK : warning LNK4044: unrecognized option '/lalterammdpcie'; ignored 1>alteracl.lib(acl_globals.obj) : error LNK2001: unresolved external symbol acl_hal_get_system_definition I tried compiling vector addition example for AOCL version 14.0 obtained from Altera website and it gave the same error. The options that it complains about being unrecognized are shown when I type aocl link-config. Someone please shed some light on this.