Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Building the Host Program using "make"

Altera_Forum
Honored Contributor II
2,431 Views

Hi Guys, 

 

I am working on Hello world program. 

 

I am trying to compile make file. I got below error:  

 

ravi@kt-warp16 ~/Desktop/Screensho/HelloWorld/hello_world 

$ make 

arm-linux-gnueabihf-g++ -Ihost/inc -I../common/inc  

-IC:/altera/14.0/hld/host/include ../common/src/AOCL_Ut 

ils.cpp host/src/main.cpp -LC:\altera\14.0\hld\board\arrow_c5sockit_bsp\arm32\li 

b -LC:/altera/14.0/hld/host/arm32/lib -lalteracl -lalterahalmmd -lalterammdpcie 

-lelf -lrt -lstdc++  

-L../common/lib  

 

-o bin/hello_world 

process_begin: CreateProcess(NULL, arm-linux-gnueabihf-g++ -Ihost/inc -I../commo 

n/inc -IC:/altera/14.0/hld/host/include ../common/src/AOCL_Utils.cpp host/src/ma 

in.cpp -LC:\altera\14.0\hld\board\arrow_c5sockit_bsp\arm32\lib -LC:/altera/14.0/ 

hld/host/arm32/lib -lalteracl -lalterahalmmd -lalterammdpcie -lelf -lrt -lstdc++ 

-L../common/lib -o bin/hello_world, ...) failed. 

make (e=2): The system can not find the file specified 

make: *** [bin/hello_world] Error 2 

 

Because of this erroe I am not able to generate /hello_world file under bin folder. 

 

Could you please help me to solve this 2 error. I am quite new in OpenCL. any type of help would be appreciated. Thanks in advance.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,503 Views

 

--- Quote Start ---  

Hi Guys, 

 

I am working on Hello world program. 

 

I am trying to compile make file. I got below error:  

 

ravi@kt-warp16 ~/Desktop/Screensho/HelloWorld/hello_world 

$ make 

arm-linux-gnueabihf-g++ -Ihost/inc -I../common/inc  

-IC:/altera/14.0/hld/host/include ../common/src/AOCL_Ut 

ils.cpp host/src/main.cpp -LC:\altera\14.0\hld\board\arrow_c5sockit_bsp\arm32\li 

b -LC:/altera/14.0/hld/host/arm32/lib -lalteracl -lalterahalmmd -lalterammdpcie 

-lelf -lrt -lstdc++  

-L../common/lib  

 

-o bin/hello_world 

process_begin: CreateProcess(NULL, arm-linux-gnueabihf-g++ -Ihost/inc -I../commo 

n/inc -IC:/altera/14.0/hld/host/include ../common/src/AOCL_Utils.cpp host/src/ma 

in.cpp -LC:\altera\14.0\hld\board\arrow_c5sockit_bsp\arm32\lib -LC:/altera/14.0/ 

hld/host/arm32/lib -lalteracl -lalterahalmmd -lalterammdpcie -lelf -lrt -lstdc++ 

-L../common/lib -o bin/hello_world, ...) failed. 

make (e=2): The system can not find the file specified 

make: *** [bin/hello_world] Error 2 

 

Because of this erroe I am not able to generate /hello_world file under bin folder. 

 

Could you please help me to solve this 2 error. I am quite new in OpenCL. any type of help would be appreciated. Thanks in advance. 

--- Quote End ---  

 

 

 

It would be appreciatted, if someone can answer of my problem.
0 Kudos
Altera_Forum
Honored Contributor II
1,503 Views

Hi, 

 

Make says it all; it can't find some of the specified files in the command. Just verify Make sure the paths to all your source files and indicated libraries are correct.
0 Kudos
Reply