FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5234 Discussions

DE0-nano-soc demonstration code won't build, fatal error: socal/socal.h: No such file or directory

BKeat1
Beginner
371 Views

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
187 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
187 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