--- Quote Start ---
I 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 '/L
C:\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.
--- Quote End ---
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------say that you installed Visual Studio 2010 and windows SDK7.1, then pls help to follow the following steps which proved work: 11;dConfigure project to use the configuration
alteraopencl with the platform
x64: Right click on the Project
simpleopencl in the Solution Explorer. Click on
properties. At the top of the Property Pages, click on
configuration manager¡ From the dropdown menus, change the
configuration and platform
2. click Close [/B]to close the Configuration Manager.
3.In the Property Pages, go to
configuration properties ->
general. Verify that the
platform toolset has been set to
windows7.1sdk. This is what allows us to compile 64-bit executable.
4.In the Property Pages, go to
c/c++ ->
general. You should see that the
additional include directories should include a path to the Intel include files.
the include directory allows our compile to be aware of the altera opencl header files.
5. Now go to
linker->
general. You should see Altera¡¯s 64-bit library path listed under A
dditional library directories.
this points the linker to the library directory where intel¡¯s libraries are located.
6. Go to
linker->
input. In the
additional dependencies field, you should see
opencl.lib. This is Altera¡¯s provided static library for compiling and running
OpenCL kernels.
7. Click
ok to close the Property Pages.
[/B]