Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing time.h #64

Open
sffortytwo opened this issue Aug 4, 2022 · 1 comment
Open

Missing time.h #64

sffortytwo opened this issue Aug 4, 2022 · 1 comment

Comments

@sffortytwo
Copy link

sffortytwo commented Aug 4, 2022

I'm running this on the Steam Deck and I get the following error:

$ cmake ..
$ make
/home/deck/Documents/extract-xiso/extract-xiso.c:245:10: fatal error: time.h: No such file or directory
  245 | #include <time.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/extract-xiso.dir/build.make:76: CMakeFiles/extract-xiso.dir/extract-xiso.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/extract-xiso.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Are there any other libraries that need to be installed?

@thrimbor
Copy link
Member

thrimbor commented Aug 4, 2022

time.h is part of the C standard library. It being missing indicates that your toolchain isn't properly/fully installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants