Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
946 Views

Problem compiling Hello_World host

Hi, 

 

I'm pretty new with OpenCL and I'm trying compiling hello world demo for cyclone v on Windows 10 - Quartus Prime 16.1.2 - OpenCL SDK - 16.1.2 - EDS 16.1.0. 

 

So far I have been able to compile the aocx kernel both c5soc and for emulation, my problem comes when I try to compile the host application. I use Altera Embedded Command Shell and just type make -f makefile command, and the result is as follows: 

 

c:/intelfpga/16.1/embedded/ds-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: warning: libacl_emulator_kernel_rt.so, needed by C:\intelFPGA\16.1\hld\board\c5soc\arm32\lib/libalteracl.so, not found (try using -rpath or -rpath-link) 

 

I configured environment variable ld_library_path as c:\intelfpga\16.1\hld\board\c5soc\arm32\lib expecting to solve the problem but didn't work.
0 Kudos
1 Reply
Highlighted
Valued Contributor III
5 Views

See my last posts in https://www.alteraforum.com/forum/showthread.php?t=47354 and https://www.alteraforum.com/forum/showthread.php?t=42985&p=234676#post234676

For C-V A(I) have a problems with destination OS detection. 

You want host on PC-Windows ? Or ARM-Linux ? Or PC-Linux ? In Windows-PC ? 

Linking of libalteracl.so + libacl_emulator_kernel_rt.so in error output say about trying the way for compile application for PC-Linux, Windows want .lib-s.
0 Kudos