Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Problem compiling Hello_World host

Altera_Forum
Honored Contributor II
1,651 Views

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
Altera_Forum
Honored Contributor II
710 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
Reply