Forum Discussion

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    1. Check the log file it lists in the error message

    2. Try checking that all your environment variables are set up (ie ALTERAOCLSDKROOT, AOCL_BOARD_PACKAGE_ROOT, Path).

    3. Try running 'aocl version' to make sure this reports back

    4. Try running 'aoc --list-boards' to make sure it reports the s5_ref

    5. Try adding the -v and --report switches to see if it gives any clue as to how far the optimizer has gone before stopping
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @viraltap (http://www.alteraforum.com/forum/member.php?u=100207) I have installed altera OpenCL SDK 14.1 on my computer, but when I compiled the host program in the vs2010, I got the following errors:

    1>LINK : warning LNK4044: unrecognized option '/LC:\work\Temp\arrow_c5sockit\arm32\lib'; ignored

    1>LINK : warning LNK4044: unrecognized option '/lalterahalmmd'; ignored

    1>LINK : warning LNK4044: unrecognized option '/lalterammdpcie'; ignored

    alteracl.lib(acl_globals.obj) : error LNK2019: unresolved external symbol acl_hal_get_system_definition referenced in function acl_init_from_hal_discovery

    D:\software\altera\exmaple\hello_world\bin\hello_w orld.exe : fatal error LNK1120:

    can you figure out the problem for me ? Thanks!