Forum Discussion
BKeat1
New Contributor
6 years agoDE0-nano-soc demonstration code won't build, fatal error: socal/socal.h: No such file or directory
I'm getting up to speed on the DE0 Nano SOC development board. I've downloaded version 1.3.1 of the system CD, and I'm working through the examples in the user manual (attached) On page 60, when I ...
BKeat1
New Contributor
6 years agoFound the fix here: https://forum.rocketboards.org/t/new-rev-d-sockit-lcd-example-wont-compile-due-to-missing-socal-h/178/1
Add to makefile:
ALT_DEVICE_FAMILY ?= soc_cv_av
Add to CFLAGS:
-I${SOCEDS_DEST_ROOT}/ip/altera/hps/altera_hps/hwlib/include/$(ALT_DEVICE_FAMILY)/ -D$(ALT_DEVICE_FAMILY)