Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Hello, I dont know how to do the configuration of environment variables on Ubuntu for DE1-SoC, Im new on linux so any helper to show how to do that? see this https://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf in page 23. Thank you in advance. --- Quote End --- If you use bash like is usual on linux, you need to insert in the .bashrc initialization file in the home dir of the user using aoc (or the general bashrc in /etc) : export install_dir="where you installed quartus and aocl, the full path /...." <=============== edit export QSYS_ROOTDIR="${install_dir}/quartus/sopc_builder/bin" export ALTERAOCLSDKROOT="${intall_dir}/hld" export AOCL_BOARD_PACKAGE_ROOT="${install_dir}/hld/board/your terasic dir" <=================== edit export LD_LIBRARY_PATH="${install_dir}/hld/host/linux64/lib:${install_dir}/hld/board/your terasic dir/linux64/lib" <======================= edit export PATH=${QSYS_ROOTDIR}:${ALTERAOCLSDKROOT}/bin:${install_dir}/hld/quartus/bin:${PATH} export QUARTUS_ROOTDIR_OVERRIDE="${install_dir}/quartus" export QUARTUS_ROOTDIR="${install_dir}/quartus" export LM_LICENSE_FILE="${install_dir}/..........._License.dat" <========================== edit