Open tissatussa opened 1 year ago
congratulations with the new version !
i'm on Linux and at first i could not compile your source. but inspecting your code, i found some basic mistakes. after correcting these, i managed to compile.
rename makefile.file to makefile
makefile.file
makefile
in makefile : add -lm at the end of the gcc line, otherwise an error occurs : undefined reference to 'pow' see eg. https://stackoverflow.com/questions/12824134/undefined-reference-to-pow-in-c-despite-including-math-h
-lm
undefined reference to 'pow'
add to misc.c : #include <string.h> otherwise strchr() is not defined
misc.c
#include <string.h>
strchr()
also you wrote the following includes between double quotes, but they should be within '<...>' :
#include <inttypes.h> #include <math.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <windows.h>
HTH !
and Goob v1.8.9 is rather strong ! i guess its rating is 2900+
Thanks for pointing out my mistakes, so happy it works
congratulations with the new version !
i'm on Linux and at first i could not compile your source. but inspecting your code, i found some basic mistakes. after correcting these, i managed to compile.
rename
makefile.file
tomakefile
in makefile : add
-lm
at the end of the gcc line, otherwise an error occurs :undefined reference to 'pow'
see eg. https://stackoverflow.com/questions/12824134/undefined-reference-to-pow-in-c-despite-including-math-hadd to
misc.c
:#include <string.h>
otherwisestrchr()
is not definedalso you wrote the following includes between double quotes, but they should be within '<...>' :
HTH !