Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BKeat1
Beginner
270 Views

DE0-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 try to build the example, I get an error that there is no file or directory called "socal/socal.h". I've searched the entire system CD and can't find it elsewhere. Am I missing something?

 

Here's where I downloaded the system cd:

http://download.terasic.com/downloads/cd-rom/de0-nano-soc/

 

Edit:

On 2019-11-11, a new system CD was released (1.3.2). This problem was not fixed.

0 Kudos
2 Replies
BKeat1
Beginner
86 Views

Found the fix here: https://forum.rocketboards.org/t/new-rev-d-sockit-lcd-example-wont-compile-due-to-missing-socal-h/17...

 

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)

AR_A_Intel
Employee
86 Views

Hello

 

Welcome to INTEL forum. The DE0-nano-soc Board belong to Terasic. You could also contact Terasic for enquiry related to Terasic board. https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=12&No=20

 

Reply