Forum Discussion
Altera_Forum
Honored Contributor
9 years agoCouldn'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 directoriesand 'alteracl.lib' to Linker->Input->additional dependencies. thanks.
2 Replies
- Altera_Forum
Honored Contributor
Have to set up the FPGA board and its driver properly based on the board's documentation?
- Altera_Forum
Honored 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.