Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Couldn't find a FPGA platform

I got a error "Query for number of platforms failed" when I run the hello_world host application. What should I do to configure this program?

I add "%ALTERAOCLSDKROOT%\host\include" to C/C++->general->additonal include directories,

"%AOCL_BOARD_PACKAGE_ROOT%\windows64\lib" and "%ALTERAOCLSDKROOT%\host\windows64\lib" to Linker->general->additional library directories

and 'alteracl.lib' to Linker->Input->additional dependencies.

thanks.

2 Replies

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

    Have to set up the FPGA board and its driver properly based on the board's documentation?

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

    Which version of the SDK are you using? in 16.1/17.0 they have updated the platform name from "Altera" to "Intel", you may need to update your host code to reflect this in the `findPlatform()` call.