I am trying to make the my_first_hps-fpga tutorial given in altera de0 nano soc cd. firstly i got above same error that was with social file. now get another error as below. i tried above lines
ALT_DEVICE_FAMILY ?= soc_cv_av
CFLAGS := -g $(OFLAG) -Wall -Werror -std=c99 $(MULTILIBFLAGS) -I$(HWLIBS_ROOT)/include -I$(HWLIBS_ROOT)/include/$(ALT_DEVICE_FAMILY) -D$(ALT_DEVICE_FAMILY)
ALL_HWLIBS_SRC = $(wildcard $(HWLIBS_ROOT)/src/hwmgr/*.c) $(wildcard $(HWLIBS_ROOT)/src/hwmgr/$(ALT_DEVICE_FAMILY)/*.c $(wildcard $(HWLIBS_ROOT)/src/utils/*.c))
in make file but now i get another error.
$ make
arm-linux-gnueabihf-gcc -g -Wall -Werror -std=c99 -I/include -I/include/soc_cv_av -Dsoc_cv_av -c main.c -o main.o
main.c:5:19: fatal error: hwlib.h: No such file or directory
# include "hwlib.h"
^
compilation terminated.
make: *** [main.o] Error 1