extract-xiso icon indicating copy to clipboard operation
extract-xiso copied to clipboard

Missing time.h

Open sffortytwo opened this issue 3 years ago • 1 comments

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?

sffortytwo avatar Aug 04 '22 12:08 sffortytwo

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

thrimbor avatar Aug 04 '22 12:08 thrimbor