Altera_Forum
Honored Contributor
11 years agoUsing emulator on ubuntu fails
Hi all,
I have an opencl project that compiles and runs on Redhat just fine. I have installed Quartus/etc on my ubuntu machine as well. The executable created on Redhat runs fine on Ubuntu. When I try to compile on Ubuntu it goes well: $ cc -o host host.o misc.o misc_cl.o -L/home/mps/altera/14.1/hld/board/s5phq/linux64/lib -L/home/mps/altera/14.1/hld/host/linux64/lib -lalteracl -lacl_emulator_kernel_rt -lalterahalmmd -laltera_s5phq_mmd -lelf -lrt -ldl -lstdc++ But I get a runtime failure with the emulator. Following shows my LD_LIBRARY_PATH, which DOES include libacl_emulator_kernel_rt.so: $ echo $LD_LIBRARY_PATH /home/mps/altera/14.1/hld/host/linux64/lib:/home/mps/altera/14.1/hld/board/s5phq/linux64/lib $./host ntest 1 ncyles/test 100000 Emulator runtime library missing in host program. Please relink host with -lacl_emulator_kernel_rt Any help or ideas?