The error:

/usr/include/stdio.h:33:11: fatal error: 'stddef.h' file not found

 happened on some Linux distributions on old versions of Terra which had a
bug in the way they packaged stddef.h

What version of Terra are you running? (e.g. terra-Linux-x86_64-332a506.zip
is version 332a506)
Try the latest release if you are not using it already:
https://github.com/zdevito/terra/releases/tag/release-2016-03-25

If you still are getting the error then I will need t investigate further.

-- Zach

On Tue, Dec 6, 2016 at 7:43 PM, Tyler Brough <[email protected]
> wrote:

> I am now working on my Ubuntu machine, and I get this error:
>
> ```
> ⇒  ~/terra/bin/terra hello.t
> In file included from <buffer>:1:
> /usr/include/stdio.h:33:11: fatal error: 'stddef.h' file not found
> # include <stddef.h>
>           ^
> compilation of included c code failed
>
> stack traceback:
> [C]: in function 'registercfile'
> src/terralib.lua:3664: in function 'includec'
> hello.t:1: in main chunk
> ```
>
> I get that it can't find the stdio.h header, but it is in
> `/usr/include/stdio.h`. How do I help Terra find it.
>
> I appreciate your help!
>
> TJB
> --
> Tyler J. Brough, Ph.D.
> Assistant Professor of Finance
> Department of Economics and Finance
> Jon M. Huntsman School of Business
> 3500 Old Main Hill
> Logan, Utah 84322-3500
> email: [email protected]
> website: broughtj.github.io
>
>
>
> _______________________________________________
> terralang mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/terralang
>
>
_______________________________________________
terralang mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/terralang

Reply via email to