Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20714 Discussions

stdtypes.h: No such file or directory

Altera_Forum
Honored Contributor II
2,702 Views

stdtypes.h: no such file or directory 

 

why am i receiving this error 

 

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,231 Views

Because the file doesn't exist. I don't think that stdtypes.h is a standard include file. Why do you need it?

0 Kudos
Altera_Forum
Honored Contributor II
1,231 Views

because i saw it for hal example for writing to flash

0 Kudos
Altera_Forum
Honored Contributor II
1,231 Views

Hmmm, can you show us where you saw that? 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
1,231 Views

www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf 

 

1 Do not edit system.h. The Nios II EDS provides tools to manipulate system settings. ......# include "stdtypes.h".# include "system.h"#define BUF_SIZE 100 ...
0 Kudos
Altera_Forum
Honored Contributor II
1,231 Views

That looks like a documentation typo/bug. '#define BUF_SIZE 100' should also be on a separate line. 

 

I think the memory test example makes use of this "fine grained" API and if not that particular example then either the application selector or the examples included with AN-429 do. 

 

Cheers, 

 

- slacker
0 Kudos
Reply