Altera_Forum
Honored Contributor
8 years agoDE10-Standard My_First_HPS Error
Hi, I have just started the DE10-Standard kit and run-thru the tutorials included in the package. I was stucked in the My_First_HPS section and got the error below:
"make: *** no rule to make target '/intelfpga/16.1/embedded/ip/altera/hps/altera_hps/hwlib/include/', needed by '-ic'. stop."https://alteraforum.com/forum/attachment.php?attachmentid=13930&stc=1 Below is my makefile: # target=my_first_hps alt_device_family?=soc_cv_av soceds_root?=$(soceds_dest_root) hwlibs_root=$(soceds_root)/ip/altera/hps/altera_hps/hwlib cross_compile=arm-linux-gnueabihf- cflags=-g-wall -d$(alt_device_family) -i$(hwlibs_root)/include/$(alt_devive_family) -i$(hwlibs_root)/include/ldflags= -g-wall cc=$(cross_compile)gcc arch=arm build: $(target) $(target):main.o $(cc)$(ldflags) $^-o$@ %.o:%.c $(cc)$(cflags)-c[I] $(CC)$(CFLAGS)-c$<-o$@[/I]lt;-o$@ .phony:clean clean: rm-f $(target)*.a*.o*~
Below is my folder structure: C:\intelFPGA\16.1\embedded C:\intelFPGA\16.1\embedded\Embedded_Command_Shell.bat C:\intelFPGA\16.1\embedded\Embedded_Command_Shell.sh C:\intelFPGA\16.1\embedded C:\intelFPGA\16.1\embedded\drivers C:\intelFPGA\16.1\embedded\ds-5 C:\intelFPGA\16.1\embedded\ds-5_installer C:\intelFPGA\16.1\embedded\embeddedsw C:\intelFPGA\16.1\embedded\examples C:\intelFPGA\16.1\embedded\host_tools C:\intelFPGA\16.1\embedded\ip C:\intelFPGA\16.1\embedded\my_first_hps C:\intelFPGA\16.1\embedded\my_first_hps\main.c C:\intelFPGA\16.1\embedded\my_first_hps\makefile Rgds, Joven