Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15559 Discussions

Problem compiling Hello_World host

Altera_Forum
Honored Contributor II
1,065 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
124 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.
Reply